MATLAB Answers

kmeans Segmentation Clarification for color images

2 views (last 30 days)
I had segmented the attached image using kmeans. After kmeans color image segmentation, when I had plotted the cluster centers, I found that, the cluster center was not at the correct point. Why?
Image Analyst
Image Analyst on 3 Oct 2018
You can try mine (attached). I always put in lots of comments.

Sign in to comment.

Accepted Answer

Anand on 16 Feb 2014
Your cluster centers are not in the XY co-ordinate space. They are in the AB color space. So cluster_center does not refer to a location on the image.

More Answers (1)

Image Analyst
Image Analyst on 16 Feb 2014
Anand on 17 Feb 2014
What didn't work in the link Image Analyst suggested?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!