Quantization HSV Space

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

Jan
Jan 2012년 3월 24일
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?

댓글을 달려면 로그인하십시오.

답변 (2개)

Elad
Elad 2013년 7월 6일

0 개 추천

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 2013년 7월 7일

0 개 추천

Get hsv image
hsv = rgb2hsv(rgbImage);
Now use imquantize(), and you're done. I think you can do that part yourself.

댓글 수: 3

Jan
Jan 2013년 7월 7일
@Elad, Image Analyst: Did you see that the OP asked 470 days ago and did not found the time to answer a question for clarification?
Image Analyst
Image Analyst 2013년 7월 7일
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 2013년 7월 7일
편집: Elad 2013년 7월 7일
Oops, I just tried to answer questions on a specific topic.. :)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2012년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by