I'm not sure if this is easy problem or not. But basically I have a collection of pixels that exist in clumps which are seperate from another. I would like to extract regions from this collection. And, for each region i would like to extract the contour pixels.
Has this kind of problem been solved? I get the faint idea that this is actually an NP complete AI problem, with K-means and stuff required.