dievra
Home   Algorithm   Software / source   Publication   Data   Contact us
Labelling and grouping

Once the segmentation is obtained, foreground pixels need to be grouped for each animal. First, the system labels each pixel, doing an eight connectivity label propagation. Each pixel and its eight neighbors are sequentially checked to assign a label to each pixel that is connected. Any pixel with no foreground neighbors is assigned to the background. Since the noise may produce disconnected objects, blobs closer than 10 pixels are also connected.


Segmentation and grouping result