colour.XYZ_to_K_ab_HunterLab1966#

colour.XYZ_to_K_ab_HunterLab1966(XYZ: ArrayLike) NDArrayFloat[source]#

Convert from whitepoint CIE XYZ tristimulus values to Hunter L,a,b \(K_{a}\) and \(K_{b}\) chromaticity coefficients.

Parameters:

XYZ (ArrayLike) – Whitepoint CIE XYZ tristimulus values.

Returns:

Hunter L,a,b \(K_{a}\) and \(K_{b}\) chromaticity coefficients.

Return type:

numpy.ndarray

References

[HunterLab08b]

Examples

>>> XYZ = np.array([109.850, 100.000, 35.585])
>>> XYZ_to_K_ab_HunterLab1966(XYZ)  
array([ 185.2378721...,   38.4219142...])