title: Simulating Camera Movement in MATLAB
body: <p>We have a camera installed in a street in height 5 meters from the ground. A plane can be fitted to all buildings in each left and right side of the street. Assume these planes are perpendicular to the ground and parallel to the street road. Also, assume in the camera coordinate system, x axis is perpendicular to buildings in the right side of the street, y axis is parallel to the street road, and hence z axis is upward perpendicular to the ground.
  Assume we have a segmentation method to robustly segment an image to four regions sky, ground, left wall, and right wall. We want to descend the camera for 2 meters to height 3 meters from the ground. Given an image I taken at the original location in height 5, synthesize a new image J using contents of I as if it has been taken from height 3 meters from ground.</p>