colour.models.oetf_sRGB¶
-
colour.models.
oetf_sRGB
(L)[source]¶ Defines the sRGB colourspace opto-electronic transfer function (OETF / OECF).
Parameters: L (numeric or array_like) – Luminance \(L\) of the image. Returns: Corresponding electrical signal \(V\). Return type: numeric or ndarray Notes
Domain Scale - Reference Scale - 1 L
[0, 1] [0, 1] Range Scale - Reference Scale - 1 V
[0, 1] [0, 1] References
[InternationalECommission99], [InternationalTUnion15b]
Examples
>>> oetf_sRGB(0.18) # doctest: +ELLIPSIS 0.4613561...