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!