フィルターのクリア

Converting typical Matrix / TRC RGB profiles to CIE Lab

1 回表示 (過去 30 日間)
Roger Breton
Roger Breton 2022 年 1 月 16 日
回答済み: Roger Breton 2022 年 1 月 16 日
Not 100% clear on the documentation?
I want to create a cform that converts from RGB to Lab out of a typical 'Matrix/TRC' profile. So far, I plan to use this code to accomplish this :
P3Prof = iccread('Display P3.icm');
cform_XYZP3 = makecform('mattrc',P3Prof,'Direction','forward') % Output is XYZ
cform_LabP3 = makecform('xyz2lab');
LabP3 = applycform(rgb,cform_LabP3);
Does that make any sense?

採用された回答

Roger Breton
Roger Breton 2022 年 1 月 16 日
The above code works just fine :-)
Thank you!

その他の回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by