Effacer les filtres
Effacer les filtres

Hue in HSV Color Space

1 vue (au cours des 30 derniers jours)
Salad Box
Salad Box le 13 Jan 2023
Commenté : Salad Box le 13 Jan 2023
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)?

Réponse acceptée

Kevin Holly
Kevin Holly le 13 Jan 2023
Modifié(e) : Kevin Holly le 13 Jan 2023
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 commentaire
Salad Box
Salad Box le 13 Jan 2023
Your answer is very clear and precise. Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by