Colors in a YUV Image

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

Community Treasure Hunt

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

Start Hunting!

Translated by