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

CIE Transformation: Why are custom values used #86

Closed
jrast opened this issue Sep 2, 2018 · 1 comment
Closed

CIE Transformation: Why are custom values used #86

jrast opened this issue Sep 2, 2018 · 1 comment

Comments

@jrast
Copy link

jrast commented Sep 2, 2018

As I understand the Code, the cie function is used to transform the RGB image to grayscale. Why are custom values used and not the default ones, for example provided on the wikipedia page, which would be

0.2126 * R + 0.7152 * G + 0.0722 * B

return 0.5126 * b + 0.7152 * g + 0.0722 * r;

https://en.wikipedia.org/wiki/Grayscale

@jrast
Copy link
Author

jrast commented Sep 2, 2018

Sorry, just seen issue #77 which asks exactly the same question...

@jrast jrast closed this as completed Sep 2, 2018
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

1 participant