how to find the mean colour
3 ビュー (過去 30 日間)
古いコメントを表示
I have a image which consists of water ,green land and roads,I want to find mean of each colour say blue region ,green region etc
kindly help
2 件のコメント
回答 (1 件)
Image Analyst
2013 年 5 月 18 日
First you have to classify the image into the 3 categories. Then for each category, you have to mask the original image and measure the mean for pixels in that category. See my File Exchange for color classification demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
3 件のコメント
Image Analyst
2013 年 5 月 18 日
You can use those to classify images into a limited number of colors. Or try rgb2ind() or kmeans().
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!