Why two segmented output image are different to each other?

1 view (last 30 days)
Hello Sir, I am doing segmentation with two method (Kmeans and Particle Swarm optimization (PSO)) for the original image (391_org.jpg) attached here..For k means, i simply used..inbuilt function and got that attached output (391_kmc1.jpg), while for PSO, i implemented using https://in.mathworks.com/matlabcentral/fileexchange/29517-segmentation ...this and got 391_1.jpg image as output. If u can see both the output u can see the difference in color. I segmented in 3 class. Can you please see that problem and make it similar and let me know why this occurs? It would be great help. Waiting for ur reply.

Accepted Answer

Image Analyst
Image Analyst on 25 Aug 2017
If they both had 3 classes, then it just appears that the normalization was different. Because you jpegged the images, we can't tell how many classes are in it.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!