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

Adjust tile color balance #23

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

Conversation

valdanylchuk
Copy link

  1. Added the ADJUST_COLORS option to adjust each tile's color balance to match the target fragment better. Produces better visual quality with fewer tiles, especially when there are few source tile images.
  2. Added a palette of plain color PNG images in the images/colors directory for quick experiments, and for a cool pixel art effect. Also added the script extras/gen_colors_rgb.py that generates those.
  3. Added optional reporting of three statistical metrics for the similarity of the target image and the mosaic: MSE, structural similarity index, perceptual hash difference.

Feel free to pick only those parts that you like.

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