Back to photostream

Create Your Own World

This project uses 360' panorama image to create a planet-like image. The project was intended to do simple border synthesis but add more fun to it.

 

Basically, the project has 3 main parts:

- panorama

- border synthesis

- stereo graphic projection

 

Panorama:

 

A set of 360'-view images are needed to create 360’ panorama. I decided to use Hugin software so that I can focus more to the extension part of the panorama. Moreover, it gave better results compared to my stitching Matlab program. Top left image is the result from Hugin using Equirectangular projection.

 

Stereo Graphic Projection:

 

Stereo graphic projection is a projection from sphere to 2D plane. In this case, I used south pole of the sphere to be projected to the center of the image (other point in the sphere can also be used but it will not give planet-like image). Another projection that yields similar result is polar transform. They are slightly different.

 

The sphere represents 360’ horizontally and 180’ vertically. Since the vertical field of view of the camera is small, it will leave blank space like picture in the bottom left. This can be fixed by extending the border to the size we want. (Another solution would be taking more than one row of panorama images to cover 180’ view, or using Fisheye Lens)

 

Border Synthesis:

 

I used texture synthesis based on Efros paper (Texture Synthesis by Non-parametric Sampling). Sample texture must be defined. I used some texture that is near the border as the sample. Then I need to search within the sample to find a similar texture to the patch and add it to the new texture. From image in the top left, I extended the border and get image in the top right. This image is then transformed using stereo graphic projection to get a filled-space planet as in the bottom right image.

 

Implementation:

 

Besides the panorama part, it is developed using Matlab.

 

Results:

 

The Old Main image shown above has some artifacts that is caused by pavement being closed to the border. Since I used texture near the border, the synthesized image contained some parts of the pavement. However, for simple texture like grass and sky, the overall result looks good. In addition, the simple object like pole can be regenerated pretty well. But if the object is too complicated, it may fail.

 

Some more results are in www.flickr.com/photos/46713076@N08/sets/72157623882874321/

 

 

626 views
0 faves
1 comment
Uploaded on May 6, 2010
Taken on May 6, 2010