/PossionImageEdit

An implementation of Poisson Image Editing

Primary LanguageMATLABGNU General Public License v3.0GPL-3.0

An implementation of Poisson image editing

result

Usage

demo.m contains three subprograms.

  • Image Fusion
% source image
srcImg = im2double(imread('xxx.png'));
% background image
dstImg = im2double(imread('xxx.jpg'));
...
...
% Where 0 represents gradient guided fusion of source image
% and 1 represents mix gradient guided fusion
out = PIF(subDstImg, subSrcImg, mask, 1);
  • Image Edit

  • Image tailing

For more information