The source code of the paper “Palette-based Content-Aware Image Recoloring”
- OS: Windows 10
- Qt: 5.12.9
- OpenCV: 4.1.2
- IDE: Visual Studio 2019
- OpenGL
- Click RgbPalette_Recolor_GUI-1.sln to compile the source code
- Click the button Open Image & Semantic map to load the input image and semantic features (see the directory "data", semantic feature data named as "xxx_feat.data"), then the original and recolored images will be shown on the right
- Fill the palette size and Click the button Extract Palette to extract the color palette of the input image
- Click the button Calc. Weight to calculate the mixing weights
- Modify the bellow palette colors to recolor the input images
- We follow Yagiz Aksoy's code to extract the semantic features, please refer to https://github.com/iyah4888/SIGGRAPH18SSS and replace the main_hyper.py with SemanticExtractor.py
- Run SemanticExtractor.py to extract the semantic feature of an input image (could run with CPU)