During my research I found that JSEG algorithm give good results in segmentation But it suffers ( over segmentation)
How can I solve this problem
thanks
Best Answer
There are many ways. For example you might try to blur the image, or try color and domain reduction filters like mean shift, or this one:DEM. Steve gives an example for reducing over segmentation for watershed segmentation in his blog:http://blogs.mathworks.com/steve/2013/11/19/watershed-transform-question-from-tech-support/. Not having posted your image or results, we have no specific ideas what might work for you.
Here's something to get you started. It's attached below the image as test.m. Of course it works just for this image and may not work for any possible image that you'll ever encounter. This is where you need to improve the algorithm and where all the time comes in. I just spent 5 minutes on this code but you could spend years on making it robust and general.
Best Answer