How to find out prominent color of an image?

3 views (last 30 days)
How do i find out the prominent color of RGB image in matlab?
Thanks
  3 Comments
Sushma
Sushma on 3 Apr 2014
What is the correct procedure to classify similar images with different colors?so that i can get classes with different colored images
By identifying the prominent colors?
Walter Roberson
Walter Roberson on 4 Apr 2014
It is not obvious to me that identifying the prominent colors will be useful for the task of classifying similar images with different colors. If you have a scene with a green car on an orange road, and a second scene with an orange car on a purple road, then you do not care about the fact that the first car is green and the second is orange, and you do not care about the fact that the road color in the first image is the same as the car color in the second image: what you care about is the there is a car-like object on a road-like object. What you would care about is therefore some way of determining the boundary between regions of different "color" so that you can find the edges of areas in a way that does not depend on exactly which color is being used but can still take advantage of the color variations within any one area (which simply converting to grayscale will not necessarily handle.)

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 3 Apr 2014
Or else you can simply get the mean RGB values. Depends on what you want.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!