Skip to content

Commit

Permalink
Update AANAP.m
Browse files Browse the repository at this point in the history
MAIN function
  • Loading branch information
Yaqi LYU authored Nov 12, 2017
1 parent 35d61fd commit 19798e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AANAP.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
warped_img1(off(2):(off(2)+size(img1,1)-1),off(1):(off(1)+size(img1,2)-1),:) = img1;
warped_img2 = imagewarping(double(ch),double(cw),double(img2),Hg,double(off));
warped_img2 = reshape(uint8(warped_img2),size(warped_img2,1),size(warped_img2,2)/3,3);
linear_hom = imageblending(warped_img1,warped_img2);
linear_hom = image_blending_average(warped_img1,warped_img2);

figure(2),imshow(linear_hom);
title('Image Stitching with global homography');
Expand Down

0 comments on commit 19798e6

Please sign in to comment.