フィルターのクリア

How to give degrees representation to hue in HSV matrix

3 ビュー (過去 30 日間)
Michael
Michael 2012 年 11 月 16 日
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 日
Just multiply the hue by 360.

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by