colour.models.oetf_HLG_BT2100

colour.models.oetf_HLG_BT2100(E: FloatingOrArrayLike, constants: colour.utilities.data_structures.Structure = CONSTANTS_BT2100_HLG) FloatingOrNDArray[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 (FloatingOrArrayLike) – \(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 (colour.utilities.data_structures.Structure) – Recommendation ITU-R BT.2100 Reference HLG constants.

Returns

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

Return type

numpy.floating or 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_HLG_BT2100(0.18 / 12)  
0.2121320...