Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 689 Bytes

File metadata and controls

33 lines (21 loc) · 689 Bytes

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