colour.models.ootf_HLG_BT2100

colour.models.ootf_HLG_BT2100(E: FloatingOrArrayLike, L_B: Floating = 0, L_W: Floating = 1000, gamma: Optional[Floating] = None, method: Union[Literal['ITU-R BT.2100-1', 'ITU-R BT.2100-2'], str] = 'ITU-R BT.2100-2') FloatingOrNDArray[source]

Define Recommendation ITU-R BT.2100 Reference HLG opto-optical transfer function (OOTF / OOCF).

The OOTF maps relative scene linear light to display linear light.

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.

  • L_B (Floating) – \(L_B\) is the display luminance for black in \(cd/m^2\).

  • L_W (Floating) – \(L_W\) is nominal peak luminance of the display in \(cd/m^2\) for achromatic pixels.

  • gamma (Optional[Floating]) – System gamma value, 1.2 at the nominal display peak luminance of \(1000 cd/m^2\).

  • method (Union[Literal[('ITU-R BT.2100-1', 'ITU-R BT.2100-2')], str]) – Computation method.

Returns

\(F_D\) is the luminance of a displayed linear component \({R_D, G_D, or B_D}\), in \(cd/m^2\).

Return type

numpy.floating or numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

E

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

F_D

[0, 1]

[0, 1]

References

[Bor17], [InternationalTUnion17]

Examples

>>> ootf_HLG_BT2100(0.1)  
63.0957344...
>>> ootf_HLG_BT2100(0.1, 0.01, method='ITU-R BT.2100-1')
... 
63.1051034...