colour.models.oetf_H273_IEC61966_2#

colour.models.oetf_H273_IEC61966_2(L_c)[source]#

Define Recommendation ITU-T H.273 opto-electronic transfer function (OETF) for IEC 61966-2 family of transfer functions (2-1 sRGB, 2-1 sYCC, 2-4 xvYCC).

Parameters:

L_c – Scene Luminance \(L_c\).

Returns:

Corresponding electrical signal \(V\).

Return type:

numpy.ndarray

Notes

Usage in [InternationalTUnion21] is as follows:

  • For IEC 61966-2-1 sRGB (MatrixCoefficients=0), the function is only defined for \(L_c\) in [0-1] range.

  • For IEC 61966-2-1 sYCC (MatrixCoefficients=5) and IEC 61966-2-4 xvYCC, the function is defined for any real-valued \(L_c\).

Domain

Scale - Reference

Scale - 1

L_c

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

V

[0, 1]

[0, 1]

References

Examples

>>> oetf_H273_IEC61966_2(0.18)  
0.4613561295004...
>>> oetf_H273_IEC61966_2(-0.18)  
-0.4613561295004...