colour.models.ootf_BT2100_HLG#
- colour.models.ootf_BT2100_HLG(E: Domain1, L_B: float = 0, L_W: float = 1000, gamma: float | None = None, method: Literal['ITU-R BT.2100-1', 'ITU-R BT.2100-2'] | str = 'ITU-R BT.2100-2') Range1[source]#
Apply the Recommendation ITU-R BT.2100 Reference HLG opto-optical transfer function (OOTF).
The OOTF maps relative scene linear light to display linear light.
- Parameters:
E (Domain1) – \(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.
L_B (float) – Display luminance for black \(L_B\) in \(cd/m^2\).
L_W (float) – Nominal peak luminance \(L_W\) of the display in \(cd/m^2\) for achromatic pixels.
gamma (float | None) – System gamma value, defaults to 1.2 at the nominal display peak luminance of \(1000 cd/m^2\).
method (Literal['ITU-R BT.2100-1', 'ITU-R BT.2100-2'] | str)
- Returns:
Luminance \(F_D\) of a displayed linear component \(\{R_D, G_D, B_D\}\) or \(Y_D\) or \(I_D\), in \(cd/m^2\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
E1
1
Range
Scale - Reference
Scale - 1
F_D1
1
References
[Bor17], [InternationalTUnion17]
Examples
>>> ootf_BT2100_HLG(0.1) 63.0957344... >>> ootf_BT2100_HLG(0.1, 0.01, method="ITU-R BT.2100-1") ... 63.1051034...