Quantization HSV Space

2 Ansichten (letzte 30 Tage)
Nishant  Shrivastava
Nishant Shrivastava am 24 Mär. 2012
kinldy give me the code for image quantization in HSV space and plot the corresponding histogram.image should be quantized in 8x3 x3 bins
  1 Kommentar
Jan
Jan am 24 Mär. 2012
I cannot imagine what a [8x3x3] means. Do you want 24 bins and each bin is a [1 x 3] vector?
What have you tried so far to solve your problem?
Is "kindly give me" a question or a command?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Elad
Elad am 6 Jul. 2013
you can use rgb2hsv (or not, if you already in hsv), and choose the number of colors (N=8?).
imhist() for the histogram..

Image Analyst
Image Analyst am 7 Jul. 2013
Get hsv image
hsv = rgb2hsv(rgbImage);
Now use imquantize(), and you're done. I think you can do that part yourself.
  3 Kommentare
Image Analyst
Image Analyst am 7 Jul. 2013
Yes, I did. I noticed that Elad seems to be deep diving the archive for some reason - he's replied to several really old questions. I know Nishant is long gone, but I just answered in case anyone else brings this up via a search. Sometimes the 8,3,3 or 5,3,3 means the number of bits rather than the number of ranges.
Elad
Elad am 7 Jul. 2013
Bearbeitet: Elad am 7 Jul. 2013
Oops, I just tried to answer questions on a specific topic.. :)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Orange finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by