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.

Risposte (1)

Image Analyst
Image Analyst il 6 Gen 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.

Richiesto:

il 6 Gen 2018

Risposto:

il 6 Gen 2018

Community Treasure Hunt

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

Start Hunting!

Translated by