colour.CAM02UCS_to_JMh_CIECAM02

colour.CAM02UCS_to_JMh_CIECAM02(Jpapbp)[source]

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

Parameters

Jpapbp (array_like) – Luo et al. (2006) CAM02-UCS colourspace \(J'a'b'\) array.

Returns

CIECAM02 correlates array \(JMh\).

Return type

ndarray

Notes

  • UCS in CAM02-UCS stands for Uniform Colour Colourspace.

Domain

Scale - Reference

Scale - 1

Jpapbp

Jp : [0, 100]

ap : [-100, 100]

bp : [-100, 100]

Jp : [0, 1]

ap : [-1, 1]

bp : [-1, 1]

Range

Scale - Reference

Scale - 1

JMh

J : [0, 100]

M : [0, 100]

h : [0, 360]

J : [0, 1]

M : [0, 1]

h : [0, 1]

References

[LCL06]

Examples

>>> Jpapbp = np.array([54.90433134, -0.08442362, -0.06848314])
>>> CAM02UCS_to_JMh_CIECAM02(Jpapbp)  
array([  4.1731091...e+01,   1.0884217...e-01,   2.1904843...e+02])