HSV cumulative Histogram

1 view (last 30 days)
yasmine
yasmine on 26 Nov 2011
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
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
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
I don't know what that is. What are you accumulating? Would cumsum() help you?
  2 Comments
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!