Hello,
I have found this code in image processing toolbox of matlab for image segmentation through watershed function:
http://www.mathworks.com/help/images/examples/marker-controlled-watershed-segmentation.html
Really, I gaven't understood the code, and I want to extract regions detected after segmentation with the function watershed and represent each region with its dominant color. So can you help me?
I want to extract those regions, so where find them?
Thanks