function KellerInpainting
im1 = imread('keller_back.png');
im2 = imread('uofmlogo.png');

u1 = [1205 297;
      2353 788;
      2387 1121;
      1131 894];
  
u2 = [1 1;
      973 1;
      973 536;
      1 536];

u1 = [u1 ones(4,1)];
u2 = [u2 ones(4,1)];

H = ComputeHomography(u1, u2);

im_warped = zeros(size(im1));

im_warped = ImageWarpingGivenTargetImage(im2, H, im_warped);

im = 0.5*im_warped + 0.5*im1;

figure(1)
clf;
imshow(im);

imwrite(im, 'keller_inpainting.png');

return;
 


