It is required that you process a binary image i.e black and white (0,255 only) and get the maximum connected component and generate another image with the maximum connected component (the one with the biggest size).
A pixel is connected to another pixel if they are both white (255) and they are neighbors (if it's on its right/left/bottom/up of that pixel).
Here you can find a good visual explanation of the Labeling algorithm.
[url removed, login to view]
5 freelancers are bidding on average $31 for this job
I am ready to do the job. On this site I have completed projects in this programming language. Perhaps your project will be the first? With programming in C / C ++ course mark.