Patrick's Project 2 Page


Tripod Images

view in viewer

view in viewer

view in viewer


Hand Held Images

view in viewer

view in viewer


Test Image

view in viewer


Comments

Feature Matching: Project 1 was used for computing the image features in all of the above images. It should be noted that a bug was found in the previously submitted project 1 code that reduced it to little more than a random number generator. After correcting the small index mismatch its accuracy jumped to an acceptable level. Also, the feature descriptors are normalized 10x10 pixel windows.

Image Alignment: The images are aligned using RANSAC with 200 iterations and a threshold of 5 pixels.

Image Blending: Blending was done by feathering the windows together. The pixel weights of each image slope to zero over a 200 pixel span that is offset from the vertical edges by 100 pixels. The offset helps to reduce ghosting that is caused by the small misalignment of each image.

Automation: To automate panorama construction a shell script was used that processes a series numbered jpeg images (mainscr).

Problems and Fixes: Most of the difficulties in this project were a result of debugging project 1. The first major bug was an indexing error in the listing of feature matches caused by match indexes starting at 1 rather then zero. The next bug was a result of edges created by warping the images into spherical coordinates; this was fixed my throwing out all features that were within 30 pixels of the top and bottom or 5 from either side. without this fix images would tend to stack that had small numbers of features such as open water shots.