colour.IPT_to_XYZ#

colour.IPT_to_XYZ(IPT: ArrayLike) NDArrayFloat[source]#

Convert from IPT colourspace to CIE XYZ tristimulus values.

Parameters:

IPT (ArrayLike) – IPT colourspace array.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.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

[Fai13g]

Examples

>>> IPT = np.array([0.38426191, 0.38487306, 0.18886838])
>>> IPT_to_XYZ(IPT)  
array([ 0.2065400...,  0.1219722...,  0.0513695...])