HLGcurves
HLGcurves refer to the transfer curves used by Hybrid Log-Gamma (HLG), an HDR standard developed by BBC and NHK and specified in ITU-R BT.2100. The curves describe how scene luminance is mapped to encoded video values (the opto-electronic transfer function, OETF) and how displays revert those values back to luminance (the electro-optical transfer function, EOTF). HLG is designed to deliver backward compatibility with standard dynamic range (SDR) displays without requiring metadata, while still providing improved dynamic range on HDR televisions and devices.
The HLG transfer function is implemented as a piecewise curve that blends a gamma-like response at low
- For L <= Lw: OETF C = 0.5 * sqrt(L / Lw)
- For L > Lw: OETF C = 0.5 + a * ln(L / Lw), with a ≈ 0.178
- Inverse (display side): L = Lw * (2C)^2 for C <= 0.5, and L = Lw * exp((C - 0.5) / a) for
HLGcurves are widely used in broadcast and streaming workflows, enabling HDR viewing with broad compatibility across