colour.CAM02UCS_to_XYZ

colour.CAM02UCS_to_XYZ(Jpapbp, **kwargs)[source]

Converts from Luo et al. (2006) CAM02-UCS colourspace \(J'a'b'\) array to CIE XYZ tristimulus values.

Parameters

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

Other Parameters

**kwargs (dict, optional) – {colour.CIECAM02_to_XYZ()}, 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

CIE XYZ tristimulus values.

Return type

ndarray

Warning

The XYZ_w parameter for colour.XYZ_to_CAM16() definition must be given in the same domain-range scale than the XYZ parameter.

Notes

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

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

XYZ

[0, 1]

[0, 1]

References

[LCL06]

Examples

>>> Jpapbp = np.array([46.61386154, 29.88310013, 12.12351683])
>>> CAM02UCS_to_XYZ(Jpapbp)  
array([ 0.2065400...,  0.1219722...,  0.0513695...])