Hybrid log–gamma (HLG) is a transfer function jointly developed by the BBC and NHK for high dynamic range (HDR) display. It is backward compatible with the transfer function of SDR (the gamma curve). It was approved as ARIB STD-B67 by the Association of Radio Industries and Businesses (ARIB). It is also defined in ATSC 3.0, Digital Video Broadcasting (DVB) UHD-1 Phase 2, and International Telecommunication Union (ITU) Rec. 2100.
HLG is an HDR format that uses the HLG transfer function, BT.2020 color primaries and a bitdepth of 10-bit. HLG was designed to be backward compatible with SDR UHDTV. However, HLG is not intended to be fully backward compatible with traditional SDR displays that cannot interpret BT.2020 colorimetry. Both HLG transfer function and the HLG format are royalty-free. The backward compatibility allows them to be used with existing transmission standards when the receiver is compatible with the BT.2020 colour container, reducing complexity and cost for both equipment manufacturers and content distributors. They are supported by HDMI 2.0b, HEVC, VP9, and H.264/MPEG-4 AVC, and are used by video services such as BBC iPlayer, DirecTV, Freeview Play, and YouTube.
Description HLG is designed to be better-suited for television broadcasting, where the metadata required for other HDR formats is not backward compatible with non-HDR displays, consumes additional bandwidth, and may also become out of sync or damaged in transmission. HLG defines a non-linear optical-electro transfer function, in which the lower half of the signal values use a gamma curve and the upper half of the signal values use a logarithmic curve. In practice, the signal is interpreted as normal by standard-dynamic-range displays (albeit capable of displaying more detail in highlights), but HLG-compatible displays can correctly interpret the logarithmic portion of the signal curve to provide a wider dynamic range. In contrast with the other HDR formats it does not use metadata. The HLG transfer function is backward compatible with SDR's gamma curve. However, HLG is commonly used with Rec. 2020 color primaries which produce a de-saturated image with visible hue shifts on non-compatible devices. HLG is therefore backward compatible with SDR-UHDTV and will show color distortion on common SDR devices that only support Rec. 709 color primaries.
Technical details HLG defines a nonlinear transfer function in which the lower half of the signal values use a gamma curve and the upper half of the signal values use a logarithmic curve. HLG reference OETF is as follows (as defined in ARIB STD-B67):
E ′ = { r E 0 ≤ E ≤ 1 , a ln ( E − b ) + c 1 < E {\displaystyle E'={\begin{cases}r\,{\sqrt {E}}\ &0\leq E\leq 1,\!\\a\ln(E-b)+c&1<E\end{cases}}}
or as follows (as defined in Rec. 2100):
E ′ = { 3 E 0 ≤ E ≤ 1 12 , a ln ( 12 E − b ) + c 1 12 < E ≤ 1 {\displaystyle E'={\begin{cases}{\sqrt {3E}}\ &0\leq E\leq {\frac {1}{12}},\!\\a\ln(12E-b)+c&{\frac {1}{12}}<E\leq 1\end{cases}}}
where
E is the linear light signal normalized by the reference white level in the range [ 0 , 12 ] {\displaystyle \left[0,12\right]} in ARIB STD-B67 and in the range [ 0 , 1 ] {\displaystyle \left[0,1\right]} in Rec. 2100. E' is the resulting nonlinear signal r is the reference white level and has a signal value of 0.5 and the constants a, b, and c are defined as a = 0.17883277, b = 1 - 4a = 0.28466892, and c = 0.5 - a ln(4a) = 0.55991073 The signal value is 0.5 for the reference white level while the signal value for 1 has a relative luminance that is 12 times higher than the reference white level. ARIB STD-B67 has a nominal range of 0 to 12. HLG uses a logarithmic curve for the upper half of the signal values due to Weber's law. HLG reference OOTF is as follows:
… excerpt ends here. Continue reading the full article.


