colour.XYZ_to_IPT_Ragoo2021#
- colour.XYZ_to_IPT_Ragoo2021(XYZ: ArrayLike) NDArrayFloat [source]#
Convert from CIE XYZ tristimulus values to Ragoo and Farup (2021) Optimised IPT colourspace.
- Parameters:
XYZ (ArrayLike) – CIE XYZ tristimulus values.
- Returns:
Ragoo and Farup (2021) Optimised IPT colourspace array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
XYZ
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
IPT
I
: [0, 1]P
: [-1, 1]T
: [-1, 1]I
: [0, 1]P
: [-1, 1]T
: [-1, 1]Input CIE XYZ tristimulus values must be adapted to CIE Standard Illuminant D Series D65.
References
[RF21]
Examples
>>> XYZ = np.array([0.20654008, 0.12197225, 0.05136952]) >>> XYZ_to_IPT_Ragoo2021(XYZ) array([ 0.4224824..., 0.2910514..., 0.2041066...])