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

[InternationalECommission99], [InternationalTUnion15b]

Examples

>>> eotf_sRGB(0.461356129500442)  
0.1...