HorizonNet: Learning Room Layout with 1D Representation and Pano Stretch Data Augmentation

Cheng Sun, Chi-Wei Hsiao, Min Sun, Hwann-Tzong Chen
1/12/2019
cs.CV

Official code: sunset1995/HorizonNet (372 stars, Python, MIT, last commit 2026-06-07).

Abstract

We present a new approach to the problem of estimating the 3D room layout from a single panoramic image. We represent room layout as three 1D vectors that encode, at each image column, the boundary positions of floor-wall and ceiling-wall, and the existence of wall-wall boundary.

Show full abstract

The proposed network, HorizonNet, trained for predicting 1D layout, outperforms previous state-of-the-art approaches. The designed post-processing procedure for recovering 3D room layouts from 1D predictions can automatically infer the room shape with low computation cost - it takes less than 20ms for a panorama image while prior works might need dozens of seconds. We also propose Pano Stretch Data Augmentation, which can diversify panorama data and be applied to other panorama-related learning tasks. Due to the limited data available for non-cuboid layout, we relabel 65 general layout from the current dataset for finetuning. Our approach shows good performance on general layouts by qualitative results and cross-validation.

View on arXivView PDF

Code Implementations(1)

MIT

Pytorch implementation of HorizonNet: Learning Room Layout with 1D Representation and Pano Stretch Data Augmentation.

37296PythonFeb 18, 20195 months agoMIT
360-photocomputer-visioncvpr2019horizonnetpano-stretch-augmentation+1 more

Similar Papers

Cite this paper

@article{sun2019horizonnet,
  title  = {HorizonNet: Learning Room Layout with 1D Representation and Pano Stretch Data Augmentation},
  author = {Cheng Sun and Chi-Wei Hsiao and Min Sun and Hwann-Tzong Chen},
  year   = {2019},
  eprint = {1901.03861},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.03861}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1901.03861.svg)](https://codeofpaper.com/paper/1901.03861)

Discussion