Hue in HSV Color Space

7 ビュー (過去 30 日間)
Salad Box
Salad Box 2023 年 1 月 13 日
コメント済み: Salad Box 2023 年 1 月 13 日
Hi,
In the HSV colour space, if I have 4 sample points with hue angle of [0, 90, 180, 270], how can I convert them so that their hue values are in the range of (0, 1)?

採用された回答

Kevin Holly
Kevin Holly 2023 年 1 月 13 日
編集済み: Kevin Holly 2023 年 1 月 13 日
The max angle is 360 degrees. So, divide your angles by the maxium value to obtain a fraction of 1.
[0, 90, 180, 270]/360
ans = 1×4
0 0.2500 0.5000 0.7500
  1 件のコメント
Salad Box
Salad Box 2023 年 1 月 13 日
Your answer is very clear and precise. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by