Reference articles on history, science, culture and more
Encyclopedia

Perceptual quantizer

Transfer function for HDR displays

Image credit is listed at the end of this article.

The perceptual quantizer (PQ), published by SMPTE as SMPTE ST 2084, is a transfer function that allows for HDR display by replacing the gamma curve used in SDR. Its 0-1 value range represents luminance levels from 0 to 10,000 cd/m2 (nits). It was developed by Dolby and standardized in 2014 by SMPTE and also in 2016 by ITU in Rec. 2100. ITU specifies the use of PQ or HLG as transfer functions for HDR-TV. PQ is the basis of HDR video formats (such as Dolby Vision, HDR10 and HDR10+) and is also used for HDR still picture formats. PQ is not backward compatible with the BT.1886 EOTF (i.e. the gamma curve of SDR), while HLG is compatible.

PQ is a non-linear transfer function based on the human visual perception of banding and is able to produce no visible banding in 12 bits. A power function (used as EOTFs in standard dynamic range applications) extended to 10000 cd/m2 would have required 15 bits.

01Technical details

The PQ EOTF (electro-optical transfer function) is as follows:

F_{D}=EOTF[E']=10000\left({\frac {\max[(E'^{1/m_{2}}-c_{1}),0]}{c_{2}-c_{3}\cdot E'^{1/m_{2}}}}\right)^{1/m_{1}}

The PQ inverse EOTF is as follows:

E'=EOTF^{-1}[F_{D}]=\left({\frac {c_{1}+c_{2}\cdot Y^{m_{1}}}{1+c_{3}\cdot Y^{m_{1}}}}\right)^{m_{2}}

where

  • E' is the non-linear signal value, in the range \left[0,1\right].
  • F_{D} is the displayed luminance in cd/m2
  • Y=F_{D}/10000 is the normalized linear displayed value, in the range [0:1] (with Y=1 representing the peak luminance of 10000 cd/m2)
  • m_{1}={\frac {2610}{16384}}={\frac {1305}{8192}}=0.1593017578125
  • m_{2}=128{\frac {2523}{4096}}={\frac {2523}{32}}=78.84375
  • c_{1}={\frac {3424}{4096}}={\frac {107}{128}}=0.8359375=c_{3}-c_{2}+1
  • c_{2}=32{\frac {2413}{4096}}={\frac {2413}{128}}=18.8515625
  • c_{3}=32{\frac {2392}{4096}}={\frac {2392}{128}}=18.6875
Watch videos about Perceptual quantizerExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Perceptual quantizer, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.