colour.models.eotf_sRGB#

colour.models.eotf_sRGB(V: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

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

Parameters:

V (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Electrical signal \(V\).

Returns:

Luminance \(L\) of the image.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

V

1

1

Range

Scale - Reference

Scale - 1

L

1

1

References

[InternationalECommission99], [InternationalTUnion15b]

Examples

>>> eotf_sRGB(0.461356129500442)
np.float64(0.1...)