How to apply the white point when converting xyz to upvpl using 'makecform'?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I have a sample data point with XYZ values shown below.
XYZ = [29.5400 25.2800 19.5900];
I would like to convert XYZ to Luv using 'makecform' with type of 'xyz2upvpl'.
My code is shown below.
cform = makecform('xyz2upvpl');
upvpl = applycform(XYZ, cform);
I then got the result
>> upvpl
upvpl =
0.2527 0.4867 25.2800
The result doesn't seems right to me since L = 25.2800 which is the same as Y which is also 25.2800.
There is no reason that L = Y. I must have done something wrong. Is it to do with the missing information on the white point? How can I define the white point for the type of 'xyz2upvpl'?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Color에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!