HSV cumulative Histogram

Hi,
i divided an RGB image into 6 equal blocks , converted each block to HSV and in each block i combined the H,S and V in one vector called "C= 9*Hue + 3*Saturation + value"
each vector (for each block)is consisted of 72 values(as i quantized the hue in 8, Saturation in 3 and value in 3 also)
Now i want to construct an HSV cumulative histogram for each block
Would you help me please with steps and matlab code if available?
Thank you

1 Comment

There used to be a long series of postings on this topic... ah, they were in the newsreader.
See the postings for Jeevashini such as at
http://www.mathworks.com/matlabcentral/newsreader/view_thread/285992
and see the postings for shilpa khinvasara such as at
http://www.mathworks.com/matlabcentral/newsreader/view_thread/285992

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 26 Nov 2011

0 votes

I don't know what that is. What are you accumulating? Would cumsum() help you?

2 Comments

http://www.ijcaonline.org/volume15/number7/pxc3872619.pdf
i want to execute the steps of the algorithm in this paper
That paper talks about taking a histogram, not a "cumulative histogram". We do not know what a "cumulative histogram" is. If you want to create a histogram, use histc() or hist()

Sign in to comment.

Asked:

on 26 Nov 2011

Community Treasure Hunt

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

Start Hunting!