“…Labeling process is performed after grouping the image pixels into regions based on the 4 or 8-connected neighbourhoods [20]. In connected neighbourhood, the pixels are connected to center pixel in its four neighbours left, top, right and bottom and in addition to 4-connected pixels all the 4-diagonal pixels are also included in the 8-connected neighbourhood.…”