Filter löschen
Filter löschen

kmeans on RGB/ Lab colorspace

2 Ansichten (letzte 30 Tage)
Mahalakshmi
Mahalakshmi am 9 Jul. 2011
Hi , I performed k means on an rgb image after converting it to lab colorspace. I also performed k means on the rgb image directly. The former gave better results. Conceptually I would like to know the reason behind this difference in results??? Please enlighten me..

Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Jul. 2011
Because the color space is a different shape. It's hard to predict what happens to the clusters (their shapes) after you do that kind of non-linear transform. You might want to download and install ImageJ http://rsbweb.nih.gov/ij/download.html and the Color Inspector 3D plugin http://rsbweb.nih.gov/ij/plugins/color-inspector.html so that you can visualize the 3D color gamuts. You will be glad you did because it is very enlightening and informative. MATLAB does not (yet) have this capability.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by