Clear Filters
Clear Filters

Identify colors by K mean cluster approach

3 views (last 30 days)
I know the pixel values of the different band now I want to identify the color of that band by K mean cluster approach. please help.

Answers (1)

Image Analyst
Image Analyst on 6 Jan 2018
This is usually a lousy way to do color segmentation. Nonetheless I'm attaching my demo to do it.
I find discriminant analysis with the classify() function does a better job, though not perfect. Demo attached for that too.

Community Treasure Hunt

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

Start Hunting!