This code implements the pipeline described in the SIGGRAPH Asia 2018 paper "Efficient palette-based decomposition and recoloring of images via RGBXY-space geometry" Jianchao Tan, Jose Echevarria, and Yotam Gingold.
A different and simpler prototype implementation can be found in this link
Run whole pipeline:
Directly run `Our_preprocessing_pipeline.ipynb` using jupyter notebook
You can test if your installation is working by comparing your output to the test/turquoise groundtruth results/
directory.
Launch GUI:
cd image-layer-updating-GUI
python3 server.py
In a new terminal:
cd image-layer-updating-GUI
http-server
Some videos of GUI usage can be found in this link
The turquoise.png
image is copyright Michelle Lee.
Users can perform global recoloring in our web GUI: https://yig.github.io/image-rgb-in-3D/ First load the original image, then drag-and-drop saved palette .js file, and finally drag-and-drop saved mixing weights .js file. Then user can click and move the palette vertices in GUI to do image recoloring. This image recoloring web GUI is also used in our previous project: https://github.com/JianchaoTan/Decompose-Single-Image-Into-Layers