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