how to find the mean colour
1 次查看(过去 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 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!