Project 5: Tour into the Picture

 

-Charudatta Phatak (cphatak@andrew.cmu.edu)

 

1)   The aim of this project was to implement the tour in picture. The images were single view models.

 

 

Image 1:

CREATOR: XV Version 3.10  Rev: 12/16/94  Quality = 75, Smoothing = 0
 

Fig 1. Original Picture                                     Fig 2. Shows the vanishing point and back wall

                     Fig 3. Shows the expanded planes

 

The individual planes are then rectified using homographies for the corresponding planes.

 

 

                                        Back                                                                              Left  

                                    Right                                                                                 Floor

                                    Ceiling

 

Then we compute the 3d coordinates of the box and generate a 3d box view.

 

The box is a little less deep because the focal length was arbitrarily chosen.

From the 3D box we can generate more novel views.

 

Novel View 1:

 

 

 

Novel View 2:

 

 

Novel View 3:

Image 2:

Original Image:

 

Novel View 1:

 

Novel View 2:

 

In these novel views, there are black regions probably because the planes were not correctly rectified or proly because of incorrect focal length.

 

Image 3:

Original image:

 

Novel View 1:

 

Novel View 2:

 

Sadly because of the arch in front of the back wall, the back wall could not be correctly selected and hence the painting on the back wall got split into 2.

 

Bells and Whistles:

 

I tried making a movie of the 3d box. I was able to conjure up a small function using camdolly to generate a matlab movie. But I wasnÕt able to convert it to avi file. I have uploaded the code for the movie making.