colour.IPT_to_XYZ

colour.IPT_to_XYZ(IPT)[source]

Converts from IPT colourspace to CIE XYZ tristimulus values.

Parameters:IPT (array_like) – IPT colourspace array.
Returns:CIE XYZ tristimulus values.
Return type:ndarray

Notes

Domain Scale - Reference Scale - 1
IPT

I : [0, 1]

P : [-1, 1]

T : [-1, 1]

I : [0, 1]

P : [-1, 1]

T : [-1, 1]

Range Scale - Reference Scale - 1
XYZ [0, 1] [0, 1]

References

[Fairchild2013y]

Examples

>>> IPT = np.array([0.38426191, 0.38487306, 0.18886838])
>>> IPT_to_XYZ(IPT)  # doctest: +ELLIPSIS
array([ 0.2065400...,  0.1219722...,  0.0513695...])