% Author : Sasakthi Abeysinghe, Timothy Simpson % Date : 02/15/2006 %This is a semi-automatic script... you have to run the section manually.. then run the 2nd section. % Section 1 imageDirectory = 'C:\_WashU\CSE 559 - Computer Vision\Homework\Homework2\'; image1 = imread(strcat(imageDirectory, 't1.jpg')); image2 = imread(strcat(imageDirectory, 't2.jpg')); cpselect(rgb2gray(image1), rgb2gray(image2)); % Section 2 points = [input_points, base_points]; hom = GetHomography(points); image3 = Mosaic(image1, hom, image2); figure, imshow(image5);