CS 194-26 Project 6

Albert Chen

Warping Images


First I took off-angle pictures of surfaces with known lengths and widths. Then I selected the corners of those planar surfaces and also selected what their corresponding points would be if I was looking at the surface head-on. Then I calculated the homography for those points and warped the picture.

original rectified

Mosaics


To create panoramas I took five pictures of the same scene, rotating the camera each time. I then selected 10 correspondences for each picture and calculated the homography for each. Then I warped each image to the points of the center image. For images farther away from the center I compounded homographies so that they would correctly warp to the center image. I then blended them by selecting the median of all the aligned images. This was the best compromise between speed and appearance. I did not use averaging because it led to ghosting in the center of the image where most of the images overlapped.