Floor-Plan Reconstruction from Panoramic Images