- This project aims to reconstruct 3D scene from one single 2D image with the constraints specified in Horry’s paper “Tour Into the Picture”. It provides an interactive user interface to define projection hints (rear wall and vanishing point) to improve the reconstruction.
- It also provides a series of MatLab code to process the image to extract front ground objects. It uses Intelligent Scissor for user to segment out the front ground objects. And it will repair the background image with inpainting code provided by Simone Parisotto (see Acknowledgement for detail). Usage: in Matlab, run
finalProjectImagePreProcessScript
under folder“./imageProcessing”
.
- Please refer to the project report and source code on the website
- demo
- For this project, I used external code posted on “MathWorks File Exchange” by Simone Parisotto on performing inpainting on masked background image. . For more detail on the license, please refer file “inpainting_mumford_shah.m” under folder “./imageProcessing/outsideCode”.
- For reconstructing 3D scene, I referred to CS445 lectures by professor Derek Hoiem. And I also researched on paper “Tour Into the Picture using Relative Depth Calculation” by Cao, et al and the original paper “Tour Into the Picture: Using a Spidery Mesh Interface to Make Animation from a Single Image” by Horry, et al .
- For the interactive environment based on WebGL, I rewrote the code from my old projects in CS418, which can be found on GitHub and referred to CS 418 lectures by professor Eric Shaffer.