Skip to content

amberwangyili/palette-refine

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

refined geometric approach for palette-based image decomposition

Code for the paper "An improved Geometric Approach for Palette-based Image Decomposition and Recoloring"

Requirements


The following setup steps are developed and tested on MacOS High Sierra 10.13.6 and with minimum requirements of CMake 3.12 and C++ 14 standard.

Used Libs:

Build with CMake


$ cd <palette-refine>
$ cmake .
$ make

Usage

directly use a toy example

$ ./palette_refine

or

$./palette_refine [OPTION...] [pic] [obj] [prefix]

  -p, --pic arg     original picture
  -o, --obj arg     convex hull .obj
  -f, --prefix arg  prefix
  -s, --sample arg  number of samples
  -c, --option arg  center point selection method
  -r, --ratio arg   ratio between neighbor_point and random points
  -l, --lambda arg  lambda
  -i, --iter arg    number of iteration
  -u, --unique arg  unique parent of a point
  -h, --help        Print help

About

Code for the paper "An improved Geometric Approach for Palette-based Image Decomposition and Recoloring"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published