colour.models.rgb.transfer_functions.srgb Module¶
sRGB Colourspace¶
Defines sRGB colourspace opto-electrical transfer function (OETF / OECF) and electro-optical transfer function (EOTF / EOCF):
See also
References
[1] | International Electrotechnical Commission. (1999). IEC 61966-2-1:1999 - Multimedia systems and equipment - Colour measurement and management - Part 2-1: Colour management - Default RGB colour space - sRGB, 51. Retrieved from https://webstore.iec.ch/publication/6169 |
[2] | International Telecommunication Union. (2015). Recommendation ITU-R BT.709-6 - Parameter values for the HDTV standards for production and international programme exchange BT Series Broadcasting service (Vol. 5). Retrieved from https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.709-6-201506-I!!PDF-E.pdf |
-
colour.models.rgb.transfer_functions.srgb.
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 Examples
>>> oetf_sRGB(0.18) 0.4613561...
-
colour.models.rgb.transfer_functions.srgb.
eotf_sRGB
(V)[source]¶ Defines the sRGB colourspace electro-optical transfer function (EOTF / EOCF).
Parameters: V (numeric or array_like) – Electrical signal \(V\). Returns: Corresponding luminance \(L\) of the image. Return type: numeric or ndarray Examples
>>> eotf_sRGB(0.461356129500442) 0.1...