Borrar filtros
Borrar filtros

How to give degrees representation to hue in HSV matrix

3 visualizaciones (últimos 30 días)
Michael
Michael el 16 de Nov. de 2012
Hi,
I'm trying to convert RGB image to HSV.
When I take a look at the first dimension of the HSV matrix .i.e hue, I see that it is in double format.
I would like to see it in degrees .i.e 0 - 360 .
How can I do that?
Thanks,
Michael.

Respuestas (1)

Jonathan Sullivan
Jonathan Sullivan el 16 de Nov. de 2012
Just multiply the hue by 360.

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by