Identify colors by K mean cluster approach

1 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2018-1-6
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.

类别

Help CenterFile Exchange 中查找有关 Cluster Analysis and Anomaly Detection 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by