Skip to content
Genius-SocietyPublic

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

Stars

37 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

QPoisson

license Build status sf bili

Implement Poisson blending algorithm in a simple photo editor with C++ 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

Code download

git clone git@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

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

Stars

37 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages