Identify colors by K mean cluster approach

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.

Réponses (1)

Image Analyst
Image Analyst le 6 Jan 2018

0 votes

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.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by