colour.models.eotf_ST2084#

colour.models.eotf_ST2084(N: ArrayLike, L_p: float = 10000, constants: Structure = CONSTANTS_ST2084) NDArrayFloat[source]#

Define SMPTE ST 2084:2014 optimised perceptual electro-optical transfer function (EOTF).

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

Parameters:
  • N (ArrayLike) – 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 (float) – 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) – SMPTE ST 2084:2014 constants.

Returns:

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

Return type:

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

UN

UN

Range

Scale - Reference

Scale - 1

C

UN

UN

References

[Mil14], [SocietyoMPaTEngineers14]

Examples

>>> eotf_ST2084(0.508078421517399)  
100.0000000...