I have an double array with xy coordinates for a bunch of pixels: [x1, y1; x2, y2; ... xn, yn]
I want to count the number of groups of adjacent pixels I have, number each group, and know which pixels are part of each object.
What method(s) would you recommend?
Thanks in advance for your help.