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

Color Zooming - best of both worlds #44

Open
josiahseaman opened this issue Jan 10, 2018 · 1 comment
Open

Color Zooming - best of both worlds #44

josiahseaman opened this issue Jan 10, 2018 · 1 comment

Comments

@josiahseaman
Copy link
Owner

josiahseaman commented Jan 10, 2018

Help Needed: If there's a color lover who wants to take this on, I'd be glad for a pull request.

Natural colors are best close up, high contrast colors are best zoomed out.

Closest layer is natural colors, copy the source file, swap out the color index in raw png file for high contrast given to deep zoom.

Even better, Deepzoom - override "resize" function to calculate sqrt of squares. This is probably prohibitively slow, but it'd look nice.

See "Why Computer Color is Broken" for an explanation.

image
image

@josiahseaman
Copy link
Owner Author

Color calculations could also be done in "Lab" space to create the correct perceptual average and eliminate much of the Moire effect.
https://www.codeproject.com/Articles/19045/Manipulating-colors-in-NET-Part
https://en.wikipedia.org/wiki/Lab_color_space#Approximate_formulas_for_Ka_and_Kb

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

No branches or pull requests

1 participant