Project for palletizing images to limited sets of marker colors.
Go to file
Matt McWilliams 537ac0075b Full process is now producing and optimizing svg layers. It needs to be made deterministic by sorting the colors and have the ability to compare in different color spaces. 2023-11-29 23:08:23 -05:00
cpp All work in progress saved 2023-09-27 10:40:13 -04:00
py Full process is now producing and optimizing svg layers. It needs to be made deterministic by sorting the colors and have the ability to compare in different color spaces. 2023-11-29 23:08:23 -05:00
.gitignore All work in progress saved 2023-09-27 10:40:13 -04:00
README.md Progress on different distance algorithms (current broken due to sketchy python) 2023-10-26 23:37:27 -04:00

README.md

Marker Separation

Project for palletizing images based on a limited set of marker colors.

Includes Python application for prototyping and C++ application for building a self-contained binary.

python pallete.py ~/Desktop/Ohuhu_50_pallete_card_printed_scaled.png
python separator.py ~/Desktop/look.png 6 ./palletes/printed_pallete.json ./

TODO

  • Fix (?) BGR and RGB closest color match
  • Order colors before matching
  • Match brightest color to white and skip
  • Re-assemble image with patched colors
  • Scripts for running stipple_gen on each layer