Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 3.02 KB

README.md

File metadata and controls

34 lines (27 loc) · 3.02 KB

QPoisson

license Build status sourceforge bilibili

Implement Poisson blending algorithm in a simple photo editor with Qt Frame on Windows.

Usage

Click to open dest img, then click to open src img
Click to circle an area on src img, then click to paste the circled area onto dst img
Click to blend the pasted area into dst img

Download

git clone https://github.com/Genius-Society/QPoisson.git
cd QPoisson

Environment installation, configuration & code debugging, release

Please refer to this blog post for this section.

Dependency library

Eigen is a C++ library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

Method

The core method for the blending process comes from Poisson Image Editing, in which the formula of computing vector b is as follow:

b[i] = div ( G( Source(x,y) ) ) - Neighbor(target i) ;  // i=1..N

Thanks