Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OKLab2 / consistent implementation of Euclidean deltaE's #581

Open
allefeld opened this issue Aug 3, 2024 · 1 comment
Open

OKLab2 / consistent implementation of Euclidean deltaE's #581

allefeld opened this issue Aug 3, 2024 · 1 comment

Comments

@allefeld
Copy link

allefeld commented Aug 3, 2024

I suggest that all deltaE functions which are defined as a Euclidean distance in some (modified) color space have that modified color space explicitly implemented, such that they themselves can be implemented via distance. One example is deltaEOK2 which is the Euclidean distance in OKLab modified such that a and b are multiplied by 2 – there could be a corresponding color space "OKLab2". Or "OKL2ab"?

Related to that a question: Is there any reason not to use such an "OKLab2" instead of OKLab throughout?

@svgeesus
Copy link
Member

there could be a corresponding color space "OKLab2". Or "OKL2ab"?

There could be, but there is not.

Related to that a question: Is there any reason not to use such an "OKLab2" instead of OKLab throughout?

deltaEOK2 is there presently for testing, while not disturbing existing users of deltaEOK.

If, as suspected, it is generally better then it will become the recommended distance metric for Oklab and Oklch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants