Colors in a YUV Image

I want to add the most representative colors into an image thats why I choosed to apply Kmeans.
[idx cluster]=kmeans(image,Nocolors,'EmptyAction','Singleton');
Nocolors=40;
as there are 40 clustered can anybody assist how can I choose most representative colors?
Thanks

답변 (0개)

카테고리

도움말 센터File Exchange에서 Modify Image Colors에 대해 자세히 알아보기

질문:

2013년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by