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
[css-color-hdr] Remove absolute and relative HDR concepts, stress scene-referred and display-referred. Anchor media white, and allow color re-rendering #10460
Copy file name to clipboardExpand all lines: css-color-hdr-1/Overview.bs
+23-20Lines changed: 23 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,8 @@ One stop is a doubling of luminance.
151
151
}
152
152
</xmp>
153
153
154
-
<dfn export>Media white</dfn>
154
+
<dfn export>Media white</dfn>,
155
+
also called HDR Reference White,
155
156
is the color of a normal white background,
156
157
or of white text on a dark background.
157
158
It can be comfortably viewed, over the whole screen.
@@ -210,8 +211,12 @@ while the luminance of media white remains constant.
210
211
Thus, the encoded dynamic range is 23.3 stops.
211
212
</div>
212
213
213
-
When [[#Compositing-SDR-HDR]], the media white for SDR content
214
-
should be anchored at <strong>203 cd/m²</strong>
214
+
Issue: add a diagram showing SDR and HDR dynamic ranges on a log scale
215
+
216
+
When [[#Compositing-SDR-HDR]],
217
+
and for color space conversion,
218
+
the media white for SDR content
219
+
should be anchored at <strong>203 cd/m²</strong>[[!Rpt_BT.2408]]
215
220
so that that the media white level
216
221
of the inputs to compositing
217
222
will end up at the media white level
@@ -220,7 +225,7 @@ of the combined signal.
220
225
When displaying HDR (or mixed SDR and HDR) content,
221
226
for displays which are less capable than the reference mastering display,
222
227
and for viewing conditions different to the standard ones,
223
-
a <dfn export>color re-rendering</dfn> step will be performed.
228
+
a <dfn export>color re-rendering</dfn> step ((OOTF) will be performed.
224
229
This may result in a media white being displayed
225
230
at a value lower or higher than 203 cd/m².
226
231
@@ -477,11 +482,6 @@ Predefined color spaces for HDR: {#predefined-HDR}
477
482
478
483
ITU Reference 2100 is used for HDR 4k and 8k television.
479
484
480
-
In contrast to SDR color spaces and some HDR color spaces,
481
-
the PQ values are <em>absolute</em> rather than relative.
482
-
483
-
Issue: add a diagram showing SDR and HDR dynamic ranges on a log scale
484
-
485
485
It has the following characteristics:
486
486
(The display primaries are the same as [[!Rec.2020]]):
487
487
@@ -547,16 +547,18 @@ Predefined color spaces for HDR: {#predefined-HDR}
547
547
548
548
Issue: add other examples, including encoding of sRGB red, green, blue and P3 red, green, blue.
549
549
550
-
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². Media white is 203 cd/m² [[!Rpt_BT.2408]].
550
+
Linear-light RGB signals are converted to PQ encoded as follows.
551
+
The maximum encodable value (peak, small-area white) in PQ is 10,000 cd/m².
552
+
Media white is 203 cd/m² [[!Rpt_BT.2408]].
551
553
552
554
<!-- From Froehlich p.42
553
555
and BT.2100 Table 4 p.4 Reference PQ OETF
554
556
-->
555
557
556
558
<pre class="lang-javascript">
557
559
var Er; // the red, green or blue component, [0, 1] for SDR, [0, 70ish] for HDR
558
-
var Yw = 203; // the absolute luminance of diffuse white, cd/m²
559
-
var x = Er * Yw / 10000; // absolute luminance of peak white is 10,000 cd/m².
560
+
var Yw = 203; // the luminance of diffuse white, cd/m²
561
+
var x = Er * Yw / 10000; // luminance of peak white is 10,000 cd/m².
560
562
const n = 2610 / (2 ** 14);
561
563
const m = 2523 / (2 ** 5);
562
564
const c1 = 3424 / (2 ** 12);
@@ -579,8 +581,8 @@ Predefined color spaces for HDR: {#predefined-HDR}
579
581
const c2 = 2413 / (2 ** 7);
580
582
const c3 = 2392 / (2 ** 7);
581
583
var x = (((Math.max(((xPQ ** minv) - c1), 0) / (c2 - (c3 * (xPQ ** minv)))) ** ninv);
582
-
var Yw = 203; // the absolute luminance of diffuse white, cd/m²
583
-
var Ea = x * 10000; // absolute luminance, [0, 10,000].
584
+
var Yw = 203; // the luminance of diffuse white, cd/m²
585
+
var Ea = x * 10000; // luminance, [0, 10,000].
584
586
var Er = x * 10000 / Yw; // luminance relative to diffuse white, [0, 70 or so].
585
587
</pre>
586
588
@@ -705,7 +707,7 @@ Predefined color spaces for HDR: {#predefined-HDR}
705
707
regardless of the actual bit depth (10 or 12 bits per component).
706
708
707
709
The color with red, green and blue all at 1.0
708
-
represents HDR Reference White with an absolute luminance of
0 commit comments