colour.XYZ_to_hdr_IPT#
- colour.XYZ_to_hdr_IPT(XYZ: Domain1, Y_s: Domain1 = 0.2, Y_abs: ArrayLike = 100, method: Literal['Fairchild 2011', 'Fairchild 2010'] | str = 'Fairchild 2011') Range100[source]#
Convert from CIE XYZ tristimulus values to hdr-IPT colourspace.
- Parameters:
- Returns:
hdr-IPT colourspace array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
XYZ1
1
Y_s1
1
Range
Scale - Reference
Scale - 1
IPT_hdr100
1
Input CIE XYZ tristimulus values must be adapted to CIE Standard Illuminant D Series D65.
References
Examples
>>> XYZ = np.array([0.20654008, 0.12197225, 0.05136952]) >>> XYZ_to_hdr_IPT(XYZ) array([ 48.3937634..., 42.4499020..., 22.0195403...]) >>> XYZ_to_hdr_IPT(XYZ, method="Fairchild 2010") array([ 30.0287314..., 83.9384506..., 34.9028738...])