colour.models.eotf_ST2084

colour.models.eotf_ST2084(N, 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 electro-optical transfer function (EOTF / EOCF).

This perceptual quantizer (PQ) has been modeled by Dolby Laboratories using Barten (1999) contrast sensitivity function.

Parameters
  • N (numeric or array_like) – 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.

  • 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

Target optical output \(C\) in \(cd/m^2\) of the ideal reference display.

Return type

numeric or ndarray

Warning

SMPTE ST 2084:2014 is an absolute transfer function.

Notes

  • 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.

Domain

Scale - Reference

Scale - 1

N

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

C

[0, 1]

[0, 1]

References

[Mil14], [SocietyoMPaTEngineers14]

Examples

>>> eotf_ST2084(0.508078421517399)  
100.0000000...