HSV cumulative Histogram

2 views (last 30 days)
yasmine on 26 Nov 2011
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
Walter Roberson
Walter Roberson on 26 Nov 2011
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
and see the postings for shilpa khinvasara such as at

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 26 Nov 2011
I don't know what that is. What are you accumulating? Would cumsum() help you?
Walter Roberson
Walter Roberson on 26 Nov 2011
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.

Community Treasure Hunt

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

Start Hunting!