Skip to content

Commit a7b161f

Browse files
committed
[cs-color-hdr] PQ and HLG media whites, composting
1 parent 7c27b43 commit a7b161f

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

css-color-hdr/Overview.bs

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Abstract: This module explores additions to CSS Color 4 to enable High Dynamic R
2020
"date": "3 July 2015",
2121
"rawDate": "2015-07-03"
2222
},
23+
"Dolby-PQ-levels": {
24+
"href": "https://www.dolby.com/us/en/technologies/dolby-vision/operational-guidelines-for-pq-2.pdf",
25+
"title": "Reference Level Guidelines for PQ (BT.2100)",
26+
"publisher": "Dolby Laoratories, Inc.",
27+
"date": "2016"
28+
},
2329
"Rec.2100": {
2430
"href": "https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2100-2-201807-I!!PDF-E.pdf",
2531
"title": "ITU-R BT.2100-2 Image parameter values for high dynamic range television for use in production and international programme exchange",
@@ -114,15 +120,17 @@ Predefined colorspaces for HDR: {#predefined-HDR}
114120
(IEEE standard 754-2008.)
115121
from BT.2100 pp. 9-10? (or any wider representation, like float or double)?
116122

117-
Issue: should the range be in absolute nits, ie [0.0, 10,000]?
123+
Issue: should the range be in absolute nits, ie [0.0, 10,000]? Probably not.
124+
125+
Issue: should th values acept % as wel as number? so 19% as well as 0.19.
118126

119127
The Perceptual Quantizer (PQ) electro-optical transfer function is used
120128
[[SMPTE-ST-2084]],[[!Rec.2100]].
121129

122130
ITU Reference 2100 is used for HDR 4k and 8k television.
123131

124132
In contrast to SDR colorspaces and some HDR colorspaces,
125-
the values are absolute rather than relative.
133+
the values are <em>absolute</em> rather than relative.
126134

127135
Issue: add a diagram showing SDR and HDR dynamic ranges on a log scale
128136

@@ -136,6 +144,7 @@ Predefined colorspaces for HDR: {#predefined-HDR}
136144
<tr><th>Blue chromaticity</th><td>0.131</td><td>0.046</td></tr>
137145
<tr><th>White chromaticity</th><td>0.3127</td><td>0.3290</td></tr>
138146
<tr><th>Transfer function</th><td colspan="2">Perceptual Quantizer</td></tr>
147+
<tr><th>White luminance</th></tr><td colspan="2">140 cd/m² [[!Dolby-PQ-levels]]</td></tr>
139148
<tr><th>Peak white luminance</th><td colspan="2">10,000 cd/m²</td></tr>
140149
<tr><th>Black luminance</th><td colspan="2">0.001 cd/m²</td></tr>
141150
</table>
@@ -239,6 +248,7 @@ Predefined colorspaces for HDR: {#predefined-HDR}
239248
<tr><th>Blue chromaticity</th><td>0.131</td><td>0.046</td></tr>
240249
<tr><th>White chromaticity</th><td>0.3127</td><td>0.3290</td></tr>
241250
<tr><th>Transfer function</th><td colspan="2">Hybrid log Gamma</td></tr>
251+
<tr><th>White luminance</th></tr><td colspan="2">depends on viewing conditions</td></tr>
242252
<tr><th>Peak white luminance</th><td colspan="2">12 times reference white</td></tr>
243253
<tr><th>Black luminance</th><td colspan="2">depends on reference white, see text</td></tr>
244254
</table>
@@ -367,6 +377,32 @@ Converting JzCzHz colors to Jzazbz colors</h4>
367377
<li>Jz is the same
368378
</ol>
369379

380+
Compositing SDR and HDR content {#Compositing-SDR-HDR}
381+
===============================
382+
383+
Compositing should take place in CE XYZ,
384+
as it is a linear-light space witout gamut limitations.
385+
Implementations may chose to composite in a linear-light RGB space instead,
386+
wich will give the same result
387+
provided out-fgamut values (negative, or greater than 100%)
388+
are corectly handled
389+
and not clipped orgamut mapped until
390+
the final transfer to the device colorspace.
391+
392+
Relative HDR using the HLG transfer function
393+
must map SDR media white
394+
to the same luminance as is used
395+
to display the 75% HLG value.
396+
397+
Absolute HDR using the PQ transfer function
398+
should map SDR media white
399+
to 140 cd/m², the same luminance as is used
400+
to display the 54% PQ value.
401+
However, implementations may chose to incorporate
402+
a color re-rendering step (OOTF)
403+
to acount for non-reference viewing conditions.
404+
405+
370406
<!-- Sample section {#sample-topic}
371407
==============================
372408

0 commit comments

Comments
 (0)