clear all;
clc;
Right = imread('D:\ISP\DualFisheyeLensStitching\images\DualFisheye2\RelocalRight.png');
p1 = load('D:\ISP\DualFisheyeLensStitching\images\DualFisheye2\Mesh.txt');
figure(1)
imagesc(Right);hold on;colormap gray;
h=size(Right,1);
w=size(Right,2);
% [x,y] = meshgrid(0:100:w,0:100:h);
quiver(p1(:,1),p1(:,2),p1(:,3)-p1(:,1),p1(:,4)-p1(:,2),'r');
hold off