Colors in a YUV Image

2 views (last 30 days)
Algorithms Analyst
Algorithms Analyst on 1 Mar 2013
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!