In this project, we need to create a 3D texture-mapped model from a single image using the single view modeling method talked in the paper "Single view Metrology". Specifically, the input is a 2D image and the output is a 3D VRML model. We use the write up to calculate the vanishing points, which may highly influence the accuracy of the final model obtained. After choosing the reference points by user, we compute 3D positions of the corners of all the polygon image patches by SameXY and SameZ method talked here. Some of the results will be shown below.
We have created a friendly user interface for you. All you need to do is just following every step fully explained on the UI panel.
The first image below from left to right is the orginal image of "building", then followed by three edited images to show the Intermediate process, i.e., setting vanishing points, setting reference points and draw polygons respectively. The final two images below them are the still images of a new view captured on the 3D model.
Here are some of the texture maps for the "building" example.
Choose the VRML files below to see the final results.VRML file of building
VRML file of box
VRML file of room sketch
VRML file of temple
HK University of Science and Technology, Fok Ying Tung Graduate School
HK University of Science and Technology, Dept. ECE
Download Testing Imagesbuilding1.jpg