color space plot of image
古いコメントを表示
in this site
there is a color space plot 2d and 3d in Rcode, how can i plot same graphs in matlab lenguages?
thenks a lot.
回答 (1 件)
Image Analyst
2021 年 6 月 13 日
2 投票
I believe you're wanting the colorcloud() function. It plots the gamut in 3-D. Not sure what a 2-D plot would be. What do the axes represent in 2-D?
2 件のコメント
mattia brichetti
2021 年 6 月 13 日
Image Analyst
2021 年 6 月 13 日
You can use the view() command to view the colorcloud from a certain vantage point, so that the 3-D cloud appears 2-D.
k-means is usually a poor way of classifying color clusters. I'm attaching my kmeans() demo on a color image as proof. You probably won't use kmeans for color segmentation in real life, but could be fun as an illustrative process - just to see what it does out of curiosity, even though it give lousy results.
カテゴリ
ヘルプ センター および File Exchange で Discrete Data Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!