Separating features in an image

1 view (last 30 days)
Curious Mind
Curious Mind on 4 May 2017
Commented: Curious Mind on 4 May 2017
Hello, if I have an image like the the one I have attached, how do I use matlab to extract the unique/distinct features in that map image? Can I separate the unique features in the image? How do I go about it? Any code will help? Thank you.

Answers (1)

Santhana Raj
Santhana Raj on 4 May 2017
One easy option is to do clustering based on the image color. You have three parameters (R,G,B), using these as the three dimensions, you can use a simple clustering algorithm like K-means to cluster the regions which has same/similar color.
  1 Comment
Curious Mind
Curious Mind on 4 May 2017
Pls do you have any code example?
Thank you

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!