How to extract Color Histogram ?

Hi, I doing my project and facing some problem regarding the color histogram. Anyone know how to extract the image and get the output in the feature vector form?

Answers (2)

Image Analyst
Image Analyst on 7 Jan 2015
See attached demo.

5 Comments

thanks a lot and appreciate much.
I have several image segmentation demos/tutorials in my File Exchange http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862, but if this answers your question about how to get RGB histograms, then can you mark it as Accepted? Thanks in advance. If you have any color segmentation questions, post your image and code and tell me what you need to measure in a new question.
Hi there, did you know how can I get the output in feature vector form, like this [0.1 0.8 0.2 0.2 0.1 0.9]on each image.
What output? I'm sure you know how to make vectors in MATLAB.
yes. Actually, I'm doing the 3D color histogram feature vector for convenience me to perform the k mean clustering for the similar keyframe.Any idea?

Sign in to comment.

Bjorn Gustavsson
Bjorn Gustavsson on 8 Jan 2015
These file exchange contributions seems to produce 3-D colour histograms:
HTH

Asked:

on 7 Jan 2015

Answered:

on 8 Jan 2015

Community Treasure Hunt

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

Start Hunting!