colour.models.eotf_sRGB

colour.models.eotf_sRGB(V: FloatingOrArrayLike) FloatingOrNDArray[source]

Define the IEC 61966-2-1:1999 sRGB electro-optical transfer function (EOTF).

Parameters

V (FloatingOrArrayLike) – Electrical signal \(V\).

Returns

Corresponding luminance \(L\) of the image.

Return type

numpy.floating or numpy.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...