colour.models.oetf_ST2084

colour.models.oetf_ST2084(C, L_p=10000, constants={'c_1': 0.8359375, 'c_2': 18.8515625, 'c_3': 18.6875, 'm_1': 0.1593017578125, 'm_2': 78.84375})[source]

Defines SMPTE ST 2084:2014 optimised perceptual opto-electronic transfer function (OETF / OECF).

Parameters:
  • C (numeric or array_like) – Target optical output \(C\) in \(cd/m^2\) of the ideal reference display.
  • L_p (numeric, optional) – System peak luminance \(cd/m^2\), this parameter should stay at its default \(10000 cd/m^2\) value for practical applications. It is exposed so that the definition can be used as a fitting function.
  • constants (Structure, optional) – SMPTE ST 2084:2014 constants.
Returns:

Color value abbreviated as \(N\), that is directly proportional to the encoded signal representation, and which is not directly proportional to the optical output of a display device.

Return type:

numeric or ndarray

Warning

SMPTE ST 2084:2014 is an absolute transfer function.

Notes

Domain Scale - Reference Scale - 1
C [0, 1] [0, 1]
Range Scale - Reference Scale - 1
N [0, 1] [0, 1]
  • SMPTE ST 2084:2014 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.

References

[Mil14], [SocietyoMPaTEngineers14]

Examples

>>> oetf_ST2084(100)  # doctest: +ELLIPSIS
0.5080784...