colour.models.oetf_BT2100_HLG#
- colour.models.oetf_BT2100_HLG(E: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1], constants: Structure | None = None) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#
Apply the Recommendation ITU-R BT.2100 Reference HLG opto-electrical transfer function (OETF).
The OETF maps relative scene linear light into the non-linear HLG signal
- Parameters:
E (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – \(E = \{R_S, G_S, B_S; Y_S; \text{or } I_S\}\) denotes the signal determined by scene light and scaled by camera exposure.
constants (Structure | None) – Recommendation ITU-R BT.2100 Reference HLG constants.
- Returns:
\(E'\) is the resulting non-linear signal \(\{R', G', B'\}\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
E1
1
Range
Scale - Reference
Scale - 1
E_p1
1
References
[Bor17], [InternationalTUnion17]
Examples
>>> oetf_BT2100_HLG(0.18 / 12) 0.2121320...