colour.oetf_reverse¶
-
colour.
oetf_reverse
(value, function='sRGB', **kwargs)[source]¶ Decodes \(R'G'B'\) video component signal value to tristimulus values at the display using given reverse opto-electronic transfer function (OETF / OECF).
Parameters: - value (numeric or array_like) – Value.
- function (unicode, optional) – {‘sRGB’, ‘ARIB STD-B67’, ‘ITU-R BT.2100 HLD’, ‘ITU-R BT.2100 PQ’, ‘ITU-R BT.601’, ‘ITU-R BT.709’}, Reverse opto-electronic transfer function (OETF / OECF).
Other Parameters: r (numeric, optional) – {
colour.models.oetf_ARIBSTDB67()
}, Video level corresponding to reference white level.Returns: Tristimulus values at the display.
Return type: numeric or ndarray
Examples
>>> oetf_reverse(0.461356129500442) 0.1... >>> oetf_reverse( ... 0.409007728864150, function='ITU-R BT.601') 0.1...