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

100% color accurate match without LUT #5

Open
nyalldawson opened this issue Aug 23, 2018 · 2 comments
Open

100% color accurate match without LUT #5

nyalldawson opened this issue Aug 23, 2018 · 2 comments
Labels
Reverse-Engineer Requires reverse engineering

Comments

@nyalldawson
Copy link
Collaborator

It would be nice to remove the color LUT and determine exact CIELAB - > RGB conversion formulas matching those used by ESRI.

@nyalldawson nyalldawson added the Reverse-Engineer Requires reverse engineering label Aug 23, 2018
@mstuyts
Copy link

mstuyts commented Nov 16, 2018

This gist I found shows one way of how to convert CIELAB -> RGB with python: https://gist.github.com/manojpandey/f5ece715132c572c80421febebaf66ae

I don't know if that's the way ESRI does the conversion.

@nyalldawson
Copy link
Collaborator Author

@mstuyts Thanks for the link! That's a similar way to what we currently do -- I originally started with the easyrgb formulas but found considerable difference in the results compared with ESRI's conversion. As a result SLYR currently uses a "refined" (hacked up?) version of these easyrgb conversion equations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reverse-Engineer Requires reverse engineering
Projects
None yet
Development

No branches or pull requests

2 participants