colour.ootf_reverse¶
-
colour.
ootf_reverse
(value, function='ITU-R BT.2100 PQ', **kwargs)[source]¶ Maps relative display linear light to scene linear light using given reverse opto-optical transfer function (OOTF / OOCF).
Parameters: - value (numeric or array_like) – Value.
- function (unicode, optional) – {‘ITU-R BT.2100 HLG’, ‘ITU-R BT.2100 PQ’} Reverse opto-optical transfer function (OOTF / OOCF).
Other Parameters: - L_B (numeric, optional) – {
colour.models.ootf_reverse_BT2100_HLG()
}, \(L_B\) is the display luminance for black in \(cd/m^2\). - L_W (numeric, optional) – {
colour.models.ootf_reverse_BT2100_HLG()
}, \(L_W\) is nominal peak luminance of the display in \(cd/m^2\) for achromatic pixels. - gamma (numeric, optional) – {
colour.models.ootf_reverse_BT2100_HLG()
}, System gamma value, 1.2 at the nominal display peak luminance of \(1000 cd/m^2\).
Returns: Luminance of scene linear light.
Return type: numeric or ndarray
Examples
>>> ootf_reverse(779.988360834115840) # doctest: +ELLIPSIS 0.1000000... >>> ootf_reverse( # doctest: +ELLIPSIS ... 63.095734448019336, function='ITU-R BT.2100 HLG') 0.1000000...