Skip to content

QPoisson is not only an image editor for implementing conventional image transformations such as mirroring, rotation, inversion, grayscale, etc., but also a carrier for implementing Poisson fusion algorithms. It seamlessly stitches segments from one image into another, larger image.|QPoisson不仅是一款支持镜像、旋转、反色、灰度等常规变换的图像编辑器,还集成了泊松融合算法,可将图像片段无缝拼接到另张图上。

License

Notifications You must be signed in to change notification settings

MuGemSt/QPoisson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QPoisson

license Build status GitHub release 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/MuGemSt/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

About

QPoisson is not only an image editor for implementing conventional image transformations such as mirroring, rotation, inversion, grayscale, etc., but also a carrier for implementing Poisson fusion algorithms. It seamlessly stitches segments from one image into another, larger image.|QPoisson不仅是一款支持镜像、旋转、反色、灰度等常规变换的图像编辑器,还集成了泊松融合算法,可将图像片段无缝拼接到另张图上。

Topics

Resources

License

Stars

Watchers

Forks