Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zhengjun-Du/ContentAwareImageRecoloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content Aware Platte-based Image Recoloring

The source code of the paper “Palette-based Content-Aware Image Recoloring” image

Requirements

  1. OS: Windows 10
  2. Qt: 5.12.9
  3. OpenCV: 4.1.2
  4. IDE: Visual Studio 2019
  5. OpenGL

Usage

  1. Click RgbPalette_Recolor_GUI-1.sln to compile the source code
  2. 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
  3. Fill the palette size and Click the button Extract Palette to extract the color palette of the input image
  4. Click the button Calc. Weight to calculate the mixing weights
  5. Modify the bellow palette colors to recolor the input images

Semantic features extraction

  1. We follow Yagiz Aksoy's code to extract the semantic features, please refer to My Tencent Cloud Storage and place it into the SemanticFeatureExtract folder and unzip it.
  2. Run SemanticExtractor.py to extract the semantic feature of an input image (could run with CPU)

Contact info

About

the source code of the paper “Palette-based Content-Aware Image Recoloring”

Resources

License

Stars

9 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors