colour.XYZ_to_CAM02LCD¶
-
colour.
XYZ_to_CAM02LCD
(XYZ, **kwargs)[source]¶ Converts from CIE XYZ tristimulus values to Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array.
- Parameters
XYZ (array_like) – CIE XYZ tristimulus values.
- Other Parameters
**kwargs (dict, optional) – {
colour.XYZ_to_CIECAM02()
}, Please refer to the documentation of the previously listed definition. The default viewing conditions are that of IEC 61966-2-1:1999, i.e. sRGB 64 Lux ambiant illumination, 80 \(cd/m^2\), adapting field luminance about 20% of a white object in the scene.- Returns
Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array.
- Return type
ndarray
Warning
The
XYZ_w
parameter forcolour.XYZ_to_CAM16()
definition must be given in the same domain-range scale than theXYZ
parameter.Notes
LCD in CAM02-LCD stands for Large Colour Differences.
Domain
Scale - Reference
Scale - 1
XYZ
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
Jpapbp
Jp
: [0, 100]ap
: [-100, 100]bp
: [-100, 100]Jp
: [0, 1]ap
: [-1, 1]bp
: [-1, 1]References
Examples
>>> XYZ = np.array([0.20654008, 0.12197225, 0.05136952]) >>> XYZ_to_CAM02LCD(XYZ) array([ 46.6138615..., 39.3576023..., 15.9673043...])