Re: [csswg-drafts] [css-color-4] CSS gamut mapping algorithm clarifications (#7653)

> Yes, this is just to avoid switching between polar and rectangular coordinates.

Its a nice optimization and gives the same result.

> Separately, the term "analytical" should be avoided. I

Agreed, it was not a good choice. I guess I meant "geometrically" ie the intersection of a line and a polyhedron.

> The idea of adding an extra step to solutions that arrive at the exact solution "too quickly" seems inappropriate and indicative of deeper problems.

No, its an awareness of a problem, which is fairly well known in the gamut mapping literature, caused by shallow and concave gamut boundaries. Instead of intersecting a (zero-width) line with the boundary, we actually want to intersect a (0.5 JND radius) cylinder.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7653#issuecomment-1489096489 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 March 2023 18:25:51 UTC