Thursday, July 21, 2022

【色彩】XYZ to Lab

XYZ 和 Lab 分別是色彩模型表示法之一,XYZ 是 CIE 所制定的三刺激值(Tristimulus),亦稱 CIEXYZ;Lab 這邊指的是 CIE 所制定的 Lab,又稱 CIELAB。因此 XYZ to Lab 較為正式的說法為 CIEXYZ to CIELAB。

 

XYZ to Lab

XYZ to Lab如下:

(01)L=116fc(YYn)16 (02)a=500(fc(XXn)fc(YYn)) (03)b=200(fc(YYn)fc(ZZn))

其中 XnYnZn 是參考白的三刺激值,並定義 t{XXn,YYn,ZZn},描述計算函數 fc(t) 如下:

(04)fc(t)={t3if t>δ3t3δ2+429otherwis

在計算函式中,δ=629

 

No comments:

Post a Comment

熱門文章