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.

2 次查看(过去 30 天)
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 个)

Rollin Baker
Rollin Baker 2017-4-12
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!

Translated by