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

Add KSubArgs struct #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

barrbrain
Copy link

This is an adaptation of some of the changes in KyleSiefring/dump_ciede2000@07bdd82 with the addition of a Default implementation for convenience.
The dump_ciede2000 tool references calibrated values for KSubArgs from "Color Image Quality Assessment Based on CIEDE2000" Yang Yang, Jun Ming and Nenghai Yu, 2012.
Other dependent crates may also find it useful to specify these arguments.

Co-Authored-By: Kyle Siefring <kylesiefring@gmail.com>

- David Michael Barr <b@rr-dav.id.au>
mina86 added a commit to mina86/empfindung that referenced this pull request Jun 30, 2021
Allow adjusting the k parameters of the ΔE calculation by providing
diff_with_params and diff_rgb_with_params function which take KSubParams
object as third argument.

diff and diff_rgb are still available and work as before assuming
k_L = 1, k_C = 1 and k_H = 1.  No new methods were added to DE200
sturcture.

See-Also: elliotekj#4
See-Also: KyleSiefring/dump_ciede2000@07bdd82
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

Successfully merging this pull request may close these issues.

None yet

1 participant