function testAffine
i=imread('cameraman.tif');
i=im2double(i);

x1=100;
y1=1;

x2=200;
y2=100;

x3=100;
y3=200;

M=256;
N=256;

tic;
a=myAffine(i,x1,y1,x2,y2,x3,y3, M, N, 'linear');
toc;

hold off;
subplot(1,2,1), imshow(i);
plotParallelogram(x1,y1,x2,y2,x3,y3);
subplot(1,2,2), imshow(a);
drawnow;