colour.models.oetf_H273_Log#

colour.models.oetf_H273_Log(L_c: 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 Recommendation ITU-T H.273 opto-electronic transfer function (OETF) for logarithmic encoding with 100:1 dynamic range.

Parameters:

L_c (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Scene luminance \(L_c\).

Returns:

Electrical signal \(V\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

L_c

1

1

Range

Scale - Reference

Scale - 1

V

1

1

References

[InternationalTUnion21]

Warning

  • The function is clamped to domain [0.01, np.inf].

Examples

>>> oetf_H273_Log(0.18)
0.6276362525516...
>>> oetf_H273_Log(0.01)
0.0
>>> oetf_H273_Log(0.001)
0.0
>>> oetf_H273_Log(1.0)
1.0