colour.models.eotf_reverse_DCDM

colour.models.eotf_reverse_DCDM(XYZ, out_int=False)[source]

Defines the DCDM reverse electro-optical transfer function (EOTF / EOCF).

Parameters:
  • XYZ (numeric or array_like) – CIE XYZ tristimulus values.
  • out_int (bool, optional) – Whether to return value as integer code value or float equivalent of a code value at a given bit depth.
Returns:

Non-linear CIE XYZ’ tristimulus values.

Return type:

numeric or ndarray

Notes

Domain * Scale - Reference Scale - 1
XYZ [0, 1] [0, 1]
Range * Scale - Reference Scale - 1
XYZ_p [0, 1] [0, 1]
  • * This definition has an output integer switch, thus the domain-range scale information is only given for the floating point mode.

References

[DigitalCInitiatives07]

Examples

>>> eotf_reverse_DCDM(0.18)  # doctest: +ELLIPSIS
0.1128186...
>>> eotf_reverse_DCDM(0.18, out_int=True)
462