colour.XYZ_to_K_ab_HunterLab1966¶
-
colour.
XYZ_to_K_ab_HunterLab1966
(XYZ)[source]¶ Converts from whitepoint CIE XYZ tristimulus values to Hunter L,a,b \(K_{a}\) and \(K_{b}\) chromaticity coefficients.
- Parameters
XYZ (array_like) – Whitepoint CIE XYZ tristimulus values.
- Returns
Hunter L,a,b \(K_{a}\) and \(K_{b}\) chromaticity coefficients.
- Return type
ndarray
References
Examples
>>> XYZ = np.array([109.850, 100.000, 35.585]) >>> XYZ_to_K_ab_HunterLab1966(XYZ) array([ 185.2378721..., 38.4219142...])