colour.IPT_Ragoo2021_to_XYZ#

colour.IPT_Ragoo2021_to_XYZ(IPT: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from Ragoo and Farup (2021) Optimised IPT colourspace to CIE XYZ tristimulus values.

Parameters:

IPT (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Ragoo and Farup (2021) Optimised IPT colourspace array.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

IPT

1

1

Range

Scale - Reference

Scale - 1

XYZ

1

1

References

[RF21]

Examples

>>> IPT = np.array([0.42248243, 0.2910514, 0.20410663])
>>> IPT_Ragoo2021_to_XYZ(IPT)
array([ 0.2065400...,  0.1219722...,  0.0513695...])