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!