MATLAB code for blending two images seamlessly