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

Support specifying greyscale weights and use integer approximation if desired #116

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

Conversation

danimoh
Copy link

@danimoh danimoh commented Feb 15, 2019

Hello Cosmo.

I don't know whether you're interested in a change like this, but as I needed it myself, I thought I might as well open up a pull request.
It's not documented in the README yet, but if you're interested, I can add it.

The idea is to provide an option to adapt the weights used in grayscale computation to adapt to differently gamma corrected images or to optimize contrast for colored qr codes, if the used color is known upfront.
Also if desired, a faster integer approximation can be used.

@danimoh danimoh force-pushed the daniel/support-color-correction branch 3 times, most recently from f99e01d to 90accc7 Compare February 15, 2019 21:56
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.

1 participant