Image-based 3D Reconstruction and Editing