Hue in HSV Color Space
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1262200/image.png)
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)?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1262205/image.png)
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!