C光源のXYZ表色系をRGB値に変換する方法

7 views (last 30 days)
Takanori Aihara
Takanori Aihara on 10 Feb 2022
Commented: Takanori Aihara on 11 Feb 2022
D65光源のXYZ値をRGB値に変換する関数はありますが、「C光源」のXYZ値をRGB値に変換する関数はありますか。
ご教授願います。

Accepted Answer

Atsushi Ueno
Atsushi Ueno on 10 Feb 2022
オプションに「WhitePoint — 基準白色点」があります。
xyzvalue = [0.25 0.40 0.10];
% D65光源の XYZ 値を 12 ビット BT.2020 RGB 値に変換
rgbvalue = xyz2rgbwide(xyzvalue,12); % 'WhitePoint'の規定値は'd65'
% C光源の XYZ 値を 12 ビット BT.2020 RGB 値に変換
rgbvalue = xyz2rgbwide(xyzvalue,12,'WhitePoint','c');
  1 Comment
Takanori Aihara
Takanori Aihara on 11 Feb 2022
なるほど、そういう仕組みになっていたんですね。
理解できました。ありがとうございます。

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!