pkg load image %the image package isn't loading by default on my system

%the next line will obviously need to be changed for this to work on anyone else's system
originalImage = imread("Z:\\school work\\cmsc465\\Poundershw4c.bmp");

translationImage = imtranslate(originalImage, 5, 8, 'wrap');
rotation30n = imrotate(originalImage, 30, 'nearest', 'loose', 0);
rotation30l = imrotate(originalImage, 30, 'bilinear', 'loose', 0);
rotation30c = imrotate(originalImage, 30, 'cubic', 'loose', 0);
rotation45n = imrotate(originalImage, 45, 'nearest', 'loose', 0);
rotation45l = imrotate(originalImage, 45, 'bilinear', 'loose', 0);
rotation45c = imrotate(originalImage, 45, 'bicubic', 'loose', 0);
rotation90n = imrotate(originalImage, 90, 'nearest', 'loose', 0);
rotation90l = imrotate(originalImage, 90, 'bilinear', 'loose', 0);
rotation90c = imrotate(originalImage, 90, 'bicubic', 'loose', 0);
rotation135n = imrotate(originalImage, 135, 'nearest', 'loose', 0);
rotation135l = imrotate(originalImage, 135, 'bilinear', 'loose', 0);
rotation135c = imrotate(originalImage, 135, 'bicubic', 'loose', 0);
shearImage = imshear(originalImage, 'x', .27);

%imwrite (translationImage, "Z:\\school work\\cmsc465\\translation.bmp");

figure();
imshow(originalImage);
title("Original");

%figure();
%imshow(translationImage) 
%title("Translation, x-axis +5, y-axis -8");

figure();
imshow(rotation30n);
title("30 degree rotation (Nearest Neighbor)");

figure();
imshow(rotation30l);
title("30 degree rotation (Bilinear)");

figure();
imshow(rotation30c);
title("30 degree rotation (Bicubic)");

figure();
imshow(rotation45n);
title("45 degree rotation (Nearest Neighbor)");

figure();
imshow(rotation45l);
title("45 degree rotation (Bilinear)");

figure();
imshow(rotation45c);
title("45 degree rotation (Bicubic)");

figure();
imshow(rotation90n);
title("90 degree rotation (Nearest Neighbor)");

figure();
imshow(rotation90l);
title("90 degree rotation (Bilinear)");

figure();
imshow(rotation90c);
title("90 degree rotation (Bicubic)");

figure();
imshow(rotation135n);
title("135 degree rotation (Nearest Neighbor)");

figure();
imshow(rotation135l);
title("135 degree rotation (Bilinear)");

figure();
imshow(rotation135c);
title("135 degree rotation (Bicubic)");

figure();
imshow(shearImage);
title(".27 Shear");






