How to give degrees representation to hue in HSV matrix

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.

답변 (1개)

Jonathan Sullivan
Jonathan Sullivan 2012년 11월 16일

1 개 추천

Just multiply the hue by 360.

카테고리

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

질문:

2012년 11월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by