Ask Your Question

Revision history [back]

If you know the amount of segments to extract, mean-shift segmentation via openCV k-means can do the trick, although the inclusion might be a problem to be dealt with separately. I made a post on k-means here

More info can be found in this slides: (slide 41 onwards).