colour.models.eotf_inverse_HLG_BT2100

colour.models.eotf_inverse_HLG_BT2100(F_D, L_B=0, L_W=1000, gamma=None, constants={'a': 0.17883277, 'b': 0.28466892, 'c': 0.559910729529562}, method='ITU-R BT.2100-2')[source]

Defines Recommendation ITU-R BT.2100 Reference HLG inverse electro-optical transfer function (EOTF / EOCF).

Parameters
  • F_D (numeric or array_like) – Luminance \(F_D\) of a displayed linear component \({R_D, G_D, B_D}\) or \(Y_D\) or \(I_D\), in \(cd/m^2\).

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

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

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

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

  • method (unicode, optional) – {‘ITU-R BT.2100-1’, ‘ITU-R BT.2100-2’}, Computation method.

Returns

\(E'\) denotes a non-linear colour value \({R', G', B'}\) or \({L', M', S'}\) in HLG space.

Return type

numeric or ndarray

Notes

Domain

Scale - Reference

Scale - 1

F_D

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

E_p

[0, 1]

[0, 1]

References

[Bor17], [InternationalTUnion17], [InternationalTUnion18]

Examples

>>> eotf_inverse_HLG_BT2100(6.476039825649814)  
0.2121320...
>>> eotf_inverse_HLG_BT2100(6.476039825649814, method='ITU-R BT.2100-1')
... 
0.2121320...
>>> eotf_inverse_HLG_BT2100(7.332197528353875, 0.01)  
0.2121320...