LGT-Net: Indoor Panoramic Room Layout Estimation with Geometry-Aware Transformer Network

Zhigang Jiang, Zhongzheng Xiang, Jinhua Xu, Ming Zhao
3/3/2022
cs.CV
transformer-attention

Official code: zhigangjiang/LGT-Net (127 stars, Python, MIT, last commit 2023-05-18).

Abstract

3D room layout estimation by a single panorama using deep neural networks has made great progress. However, previous approaches can not obtain efficient geometry awareness of room layout with the only latitude of boundaries or horizon-depth.

Show full abstract

We present that using horizon-depth along with room height can obtain omnidirectional-geometry awareness of room layout in both horizontal and vertical directions. In addition, we propose a planar-geometry aware loss function with normals and gradients of normals to supervise the planeness of walls and turning of corners. We propose an efficient network, LGT-Net, for room layout estimation, which contains a novel Transformer architecture called SWG-Transformer to model geometry relations. SWG-Transformer consists of (Shifted) Window Blocks and Global Blocks to combine the local and global geometry relations. Moreover, we design a novel relative position embedding of Transformer to enhance the spatial identification ability for the panorama. Experiments show that the proposed LGT-Net achieves better performance than current state-of-the-arts (SOTA) on benchmark datasets.

View on arXivView PDF

Code Implementations(1)

MIT

This is PyTorch implementation of our paper "LGT-Net: Indoor Panoramic Room Layout Estimation with Geometry-Aware Transformer Network".(CVPR'22)

12721Python, GLSLNov 27, 20213 years agoMIT

Similar Papers

Cite this paper

@article{jiang2022lgtnet,
  title  = {LGT-Net: Indoor Panoramic Room Layout Estimation with Geometry-Aware Transformer Network},
  author = {Zhigang Jiang and Zhongzheng Xiang and Jinhua Xu and Ming Zhao},
  year   = {2022},
  eprint = {2203.01824},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.01824}
}

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/2203.01824.svg)](https://codeofpaper.com/paper/2203.01824)

Discussion