Computational Photography Final Project


Description

This project presents a system that allows a user to select part of an image to warp while leaving the rest of the image undistorted. The project leverages the warping mechanizm presented in the paper, Image Deformation Using Moving Least Squares, by Schae- fer et al. The motivating example is the picture of the Leaning Tower of Pisa that is presented in their paper. In this example, they attempt to straighten the tower using deformation of line segments. The tower gets reasonably straightened, but as a side result, the clouds in the background get greatly distorted. Additionally, because the warp is being performed globally on the image and there are parts of the image (such as neighboring buildings) that should not move, the user is forced to designate a large number of lines in order to achieve the desired warp. The goal of this system is to allow a user to choose a part of the image to warp while leaving the rest stationary.


Original Image


Warped Image

Downloads

Writeup
Code
Sample Images