i want a code for hsv space quantization in which hue(0,360) divided in 8 channel, and S [0,1]and v [0,1]divided in to 3 shares. and also if possible code for dominnant color descriptor.

1 view (last 30 days)
i want a code for hsv space quantization in which hue(0,360) divided in 8 channel, and S [0,1]and v [0,1]divided in to 3 shares. and also if possible code for dominnant color descriptor.

Answers (1)

Rollin Baker
Rollin Baker on 12 Apr 2017
Hi Harsh,
Assuming you have the RGB values for the image you want to convert, you can simply use the rgb2hsv function. The documentation page for this function is linked below:
This should help you make some progress. The conversion equations are available in the page I linked in case you find those useful as well.
Good luck on your project!
-Rollin

Community Treasure Hunt

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

Start Hunting!