colour.models.oetf_BT2100_HLG#

colour.models.oetf_BT2100_HLG(E: ArrayLike, constants: Structure = CONSTANTS_BT2100_HLG) NDArrayFloat[source]#

Define 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 value.

Parameters:
  • E (ArrayLike) – \(E\) is the signal for each colour component \({R_S, G_S, B_S}\) proportional to scene linear light and scaled by camera exposure.

  • constants (Structure) – Recommendation ITU-R BT.2100 Reference HLG constants.

Returns:

\(E'\) is the resulting non-linear signal \({R', G', B'}\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

E

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

E_p

[0, 1]

[0, 1]

References

[Bor17], [InternationalTUnion17]

Examples

>>> oetf_BT2100_HLG(0.18 / 12)  
0.2121320...