Project for palletizing images to limited sets of marker colors.
Go to file
Matt McWilliams 1f0cc59037 Resolves #4; The base configuration for stipple_gen contained a hardcoded width and height. This was forcing the preview image to be generated at an arbitrary size compared to the input image 2023-12-16 09:45:24 -05:00
cpp All work in progress saved 2023-09-27 10:40:13 -04:00
py Resolves #4; The base configuration for stipple_gen contained a hardcoded width and height. This was forcing the preview image to be generated at an arbitrary size compared to the input image 2023-12-16 09:45:24 -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