colour.JMh_CIECAM02_to_CAM02LCD

colour.JMh_CIECAM02_to_CAM02LCD(JMh)[source]

Converts from CIECAM02 \(JMh\) correlates array to Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array.

Parameters:JMh (array_like) – CIECAM02 correlates array \(JMh\).
Returns:Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array.
Return type:ndarray

Notes

Domain Scale - Reference Scale - 1
JMh

J : [0, 100]

M : [0, 100]

h : [0, 360]

J : [0, 1]

M : [0, 1]

h : [0, 1]

Range Scale - Reference Scale - 1
Jpapbp

Jp_1 : [0, 100]

ap_1 : [-100, 100]

bp_1 : [-100, 100]

Jp_1 : [0, 1]

ap_1 : [-1, 1]

bp_1 : [-1, 1]

References

[Luo2006b]

Examples

>>> from colour.appearance import (
...     CIECAM02_VIEWING_CONDITIONS,
...     XYZ_to_CIECAM02)
>>> XYZ = np.array([19.01, 20.00, 21.78])
>>> XYZ_w = np.array([95.05, 100.00, 108.88])
>>> L_A = 318.31
>>> Y_b = 20.0
>>> surround = CIECAM02_VIEWING_CONDITIONS['Average']
>>> specification = XYZ_to_CIECAM02(
...     XYZ, XYZ_w, L_A, Y_b, surround)
>>> JMh = (specification.J, specification.M, specification.h)
>>> JMh_CIECAM02_to_CAM02LCD(JMh)  # doctest: +ELLIPSIS
array([ 54.9043313...,  -0.0845039...,  -0.0685483...])