colour.CAM02SCD_to_JMh_CIECAM02

colour.CAM02SCD_to_JMh_CIECAM02(Jpapbp)[source]

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

Parameters

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

Returns

CIECAM02 correlates array \(JMh\).

Return type

ndarray

Notes

  • SCD in CAM02-SCD stands for Small Colour Differences.

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.08436178, -0.06843298])
>>> CAM02SCD_to_JMh_CIECAM02(Jpapbp)  
array([  4.1731091...e+01,   1.0884217...e-01,   2.1904843...e+02])