Ok but is it okay? Show me the blue! Is there purple?
OKLab blue linearity
compare CIE Lab blue curvature
sRGB blue to neutral: OKLab
sRGB blue to neutral: CIE Lab
Display P3 yellow to sRGB OKLCH: intersection
Out of P3 gamut in red; out of sRGB gamut in salmon.
Display P3 yellow to sRGB OKLCH: Clip if ΔE < .02
Out of P3 gamut in red; out of sRGB gamut in salmon.
Bonus
OKLab ΔE is simple Euclidean distance (so, fast)
Bonus 2
OKLab hue linearity aids gamut mapping
and
OKLab hue uniformity aids gradients [Levien 2021]
Next steps
Verify BT.2020 to Display-P3 mapping in OKLCH
Examine analytical vs. recursive gamut boundary location
Add oklab() and oklch() to CSS Color 4
Recommend OKLCH for gamut mapping in CSS Color 4
Investigate applicability of OKLCH mapping for HDR
References
F. Ebner “Derivation and modelling hue uniformity and
development of the IPT color space”
Rochester Institute of Technology, PhD thesis (1998)
P. C. Hung and R. S. Berns, “Determination of constant hue loci for
a CRT gamut and their predictions using color appearance spaces”
Color Research & Application 20, 285–295 (1995).
N. Schlömer “Algorithmic improvements for the CIECAM02
and CAM16 color appearance models”
B. Zhao and M. R. Luo, “Hue linearity of color spaces for wide color gamut
and high dynamic range media”
Journal of the Optical Society of America
37, 865-875 (2020)
Thank you!
Questions?
Created 4 March 2019 by Bert Bos. Last modified
$Date: 2021/09/18 01:16:55 $ by $Author: clilley $.