Skip to content

Commit

Permalink
[css-color-4] Consistently distinguish linear Bradfrod from original …
Browse files Browse the repository at this point in the history
…Bradford, #9607
  • Loading branch information
svgeesus committed Nov 22, 2023
1 parent 4e4e7c1 commit 66a09e4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3015,7 +3015,8 @@ Device-independent Colors: CIE Lab and LCH, Oklab and Oklch</h2>

Conversion from colors specified using other white points is called a <dfn export>chromatic adaptation transform</dfn>,
which models the changes in the human visual system as we adapt to a new lighting condition.
The Bradford algorithm [[!Bradford-CAT]]
The linear Bradford algorithm [[!ICC]]
(a simplification of the original Bradford algorithm [[!Bradford-CAT]])
is the industry standard chromatic adaptation transform,
and is easy to calculate as it is a simple matrix multiplication.

Expand Down Expand Up @@ -4245,7 +4246,7 @@ Converting Predefined Color Spaces to Lab or Oklab</h3>
<li>If needed, convert from a [=D65=] whitepoint
(used by ''sRGB'', ''display-p3'', ''a98-rgb'' and ''rec2020'')
to the [=D50=] whitepoint used in Lab,
with the Bradford transform. ''prophoto-rgb'' already has a [=D50=] whitepoint.
with the linear Bradford transform. ''prophoto-rgb'' already has a [=D50=] whitepoint.
<li>Convert D50-adapted XYZ to Lab
</ol>

Expand All @@ -4258,7 +4259,7 @@ Converting Predefined Color Spaces to Lab or Oklab</h3>
<li>Convert from linear RGB to CIE XYZ
<li>If needed, convert from a [=D50=] whitepoint (used by ''prophoto-rgb'')
to the [=D65=] whitepoint used in Oklab,
with the Bradford transform.
with the linear Bradford transform.
<li>Convert D65-adapted XYZ to Oklab
</ol>

Expand All @@ -4277,7 +4278,7 @@ Converting Lab or Oklab to Predefined RGB Color Spaces</h3>
<li>Convert Lab to (D50-adapted) XYZ
<li>If needed, convert from a [=D50=] whitepoint (used by Lab)
to the [=D65=] whitepoint used in sRGB and most other RGB spaces,
with the Bradford transform. ''prophoto-rgb''' does not require this step.
with the linear Bradford transform. ''prophoto-rgb''' does not require this step.
<li>Convert from (D65-adapted) CIE XYZ to linear RGB
<li>Convert from linear-light RGB to RGB (do gamma encoding)
</ol>
Expand All @@ -4290,7 +4291,7 @@ Converting Lab or Oklab to Predefined RGB Color Spaces</h3>
<li>Convert Oklab to (D65-adapted) XYZ
<li>If needed, convert from a [=D65=] whitepoint (used by Oklab)
to the [=D50=] whitepoint used in ''prophoto-rgb'',
with the Bradford transform.
with the linear Bradford transform.
<li>Convert from (D65-adapted) CIE XYZ to linear RGB
<li>Convert from linear-light RGB to RGB (do gamma encoding)
</ol>
Expand All @@ -4316,7 +4317,7 @@ Converting Between Predefined RGB Color Spaces</h3>
<li>Convert from linear <em>src</em>RGB to CIE XYZ
<li>If <em>src</em> and <em>dest</em> have different whitepoints,
convert the XYZ value from <em>src</em>White to <em>dest</em>White
with the Bradford transform.
with the linear Bradford transform.
</li>
<li>Convert from CIE XYZ to linear <em>dest</em>RGB
<li>Convert from linear-light <em>dest</em>RGB to <em>dest</em>RGB (do gamma encoding)
Expand Down

0 comments on commit 66a09e4

Please sign in to comment.