colour.models.eotf_DCDM#
- colour.models.eotf_DCDM(XYZ_p: ArrayLike, in_int: bool = False) NDArrayFloat [source]#
Define the DCDM electro-optical transfer function (EOTF).
- Parameters
XYZ_p (ArrayLike) – Non-linear CIE XYZ’ tristimulus values.
in_int (bool) – Whether to treat the input value as int code value or float equivalent of a code value at a given bit-depth.
- Returns
CIE XYZ tristimulus values.
- Return type
Warning
DCDM is an absolute transfer function.
Notes
DCDM is an absolute transfer function, thus the domain and range values for the Reference and 1 scales are only indicative that the data is not affected by scale transformations.
Domain *
Scale - Reference
Scale - 1
XYZ_p
UN
UN
Range *
Scale - Reference
Scale - 1
XYZ
UN
UN
* This definition has an input int switch, thus the domain-range scale information is only given for the floating point mode.
References
Examples
>>> eotf_DCDM(0.11281860951766724) 0.18... >>> eotf_DCDM(462, in_int=True) 0.18...