You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: from BT.2100 p.3 "Note 3d – For PQ in a non-reference viewing environment, or for HLG (in any viewing environment), the black level should be adjusted using the PLUGE test signal and procedure specified in Recommendation ITU-R BT.814."
143
+
137
144
<div class="example">
138
145
This color represents a blinding white
139
146
with a luminance of 10,000 cd/m².
@@ -166,6 +173,43 @@ Predefined colorspaces for HDR: {#predefined-HDR}
166
173
167
174
Issue: add other examples, including encoding of sRGB red, green, blue and P3 red, green, blue.
168
175
176
+
Linear-light RGB signals are converted to PQ encoded as follows. An absolute luminance scale is used, so the luminance of diffuse (media) white is required to scale relative luminances. The maximum encodable value (peak, small-area white) in PQ is 10,000 cd/m²:
177
+
178
+
<!-- From Froehlich p.42
179
+
and BT.2100 Table 4 p.4 Reference PQ OETF
180
+
-->
181
+
182
+
<pre class="lang-javascript">
183
+
var Er; // the red, green or blue component, [0, 1] for SDR, [0, 70ish] for HDR
184
+
var Yw = 140; // the absolute luminance of diffuse white, cd/m²
185
+
var x = Er * Yw / 10000; // absolute luminance of peak white is 10,000 cd/m².
0 commit comments