colour.models.rgb.transfer_functions.st_2084 Module¶
SMPTE ST 2084:2014¶
Defines SMPTE ST 2084:2014 opto-electrical transfer function (OETF / OECF) and electro-optical transfer function (EOTF / EOCF):
See also
References
[1] | Society of Motion Picture and Television Engineers. (2014). SMPTE ST 2084:2014 - Dynamic Range Electro-Optical Transfer Function of Mastering Reference Displays. doi:10.5594/SMPTE.ST2084.2014 |
[2] | Miller, S., & Dolby Laboratories. (2014). A Perceptual EOTF for Extended Dynamic Range Imagery, 1–17. Retrieved from https://www.smpte.org/sites/default/files/2014-05-06-EOTF-Miller-1-2-handout.pdf |
-
colour.models.rgb.transfer_functions.st_2084.
ST2084_CONSTANTS
= {'c_1': 0.8359375, 'm_2': 78.84375, 'c_3': 18.6875, 'c_2': 18.8515625, 'm_1': 0.1593017578125}¶ **SMPTE ST 2084* – 2014* opto-electrical transfer function (OETF / OECF) and electro-optical transfer function (EOTF / EOCF) constants.
ST2084_CONSTANTS : Structure
-
colour.models.rgb.transfer_functions.st_2084.
oetf_ST2084
(C, L_p=10000)[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) – Display peak luminance \(cd/m^2\).
Returns: Color value abbreviated as \(N\), normalized to the range [0, 1], 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
Examples
>>> oetf_ST2084(0.18) 0.0794209...
-
colour.models.rgb.transfer_functions.st_2084.
eotf_ST2084
(N, L_p=10000)[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\), normalized to the range [0, 1], 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) – Display peak luminance \(cd/m^2\).
Returns: Target optical output \(C\) in \(cd/m^2\) of the ideal reference display.
Return type: numeric or ndarray
Examples
>>> eotf_ST2084(0.079420969944927) 0.1...