how to find the mean colour
Show older comments
Answers (1)
Image Analyst
on 18 May 2013
0 votes
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 Comments
kash
on 18 May 2013
Image Analyst
on 18 May 2013
You can use those to classify images into a limited number of colors. Or try rgb2ind() or kmeans().
kash
on 24 May 2013
Categories
Find more on Color Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!