MATLAB code for Image Blending