colour.models.eotf_inverse_DCDM#

colour.models.eotf_inverse_DCDM(XYZ: ArrayLike, out_int: bool = False) NDArrayReal[source]#

Define the DCDM inverse electro-optical transfer function (EOTF).

Parameters:
  • XYZ (ArrayLike) – CIE XYZ tristimulus values.

  • out_int (bool) – Whether to return value as int code value or float equivalent of a code value at a given bit-depth.

Returns:

Non-linear CIE XYZ’ tristimulus values.

Return type:

numpy.ndarray

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

UN

UN

Range *

Scale - Reference

Scale - 1

XYZ_p

UN

UN

* This definition has an output int switch, thus the domain-range scale information is only given for the floating point mode.

References

[DigitalCInitiatives07]

Examples

>>> eotf_inverse_DCDM(0.18)  
0.1128186...
>>> eotf_inverse_DCDM(0.18, out_int=True)
462