colour.models.eotf_sRGB

colour.models.eotf_sRGB(V)[source]

Defines the IEC 61966-2-1:1999 sRGB 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

Notes

Domain Scale - Reference Scale - 1
V [0, 1] [0, 1]
Range Scale - Reference Scale - 1
L [0, 1] [0, 1]

References

[InternationalElectrotechnicalCommission1999a], [InternationalTelecommunicationUnion2015i]

Examples

>>> eotf_sRGB(0.461356129500442)  # doctest: +ELLIPSIS
0.1...