@@ -58,6 +58,12 @@ WPT Display: open
5858 "publisher": "ITU",
5959 "rawDate": "2018-07-00"
6060 },
61+ "Rec_BT.2124": {
62+ "title": "ITU-R BT.2124-0 Objective metric for the assessment of the potential visibility of colour differences in television",
63+ "href": "https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2124-0-201901-I!!PDF-E.pdf",
64+ "publisher": "ITU",
65+ "rawDate": "2019-01"
66+ },
6167 "Rec_BT.2390": {
6268 "href": "https://www.itu.int/dms_pub/itu-r/opb/rep/R-REP-BT.2390-8-2020-PDF-E.pdf",
6369 "title": "ITU-R BT.2390-8 High dynamic range television for production and international programme exchange",
@@ -1023,6 +1029,38 @@ Serializing values of the ''color()'' function</h3>
10231029 Values must be <a href="https://drafts.csswg.org/css-values-4/#combine-integers">rounded towards +∞</a> , not truncated.
10241030
10251031
1032+ <!--
1033+ ████████ ████████ ██ ████████ ███ ████████
1034+ ██ ██ ██ ██ ██ ██ ██ ██
1035+ ██ ██ ██ ██ ██ ██ ██ ██
1036+ ██ ██ ██████ ██ ██ ██ ██ ██████
1037+ ██ ██ ██ ██ ██ █████████ ██
1038+ ██ ██ ██ ██ ██ ██ ██ ██
1039+ ████████ ████████ ████████ ██ ██ ██ ████████
1040+ -->
1041+
1042+ <h2 id="deltaE">
1043+ Sample code for ΔEITP Color Differences
1044+ </h2>
1045+
1046+ <em> This section is not normative.</em>
1047+ <wpt title="This section is not normative, it does not need tests."></wpt>
1048+
1049+ The ΔEITP [[Rec_BT.2124]] color difference metric
1050+ may be used to measure the perceptual color difference between
1051+ two display-referred colors
1052+ in an HDR or mixed SDR/HDR context,
1053+ for example in display calibration
1054+ or gamut and tone mapping.
1055+
1056+ It is a Euclideam distance in ''ICtCp'' color space,
1057+ scaled such that a ΔEITP of 1.0
1058+ represents one just-noticeable difference.
1059+
1060+ <pre class="include-code lang-javascript">
1061+ path: deltaEITP.js
1062+ highlight: js
1063+ </pre>
10261064
10271065<!-- Sample section {#sample-topic}
10281066==============================
0 commit comments