PanoTPS-Net: Panoramic Room Layout Estimation via Thin Plate Spline Transformation
Hatem Ibrahem, Ahmed Salem, Qinmin Vivian Hu, Guanghui Wang
TL;DR
PanoTPS-Net tackles 3D room layout estimation from a single panorama by predicting Thin Plate Spline (TPS) transformation parameters via a CNN and warping a reference layout to the target. This end-to-end image-warping approach enables robust handling of both cuboid and non-cuboid layouts, achieving competitive or state-of-the-art $3DIoU$ and $2DIoU$ scores on PanoContext, Stanford-2D3D, Matterport3DLayout, and ZInD datasets. The method uses edge and corner maps, a MXception-based feature extractor, and corner-map post-processing for non-cuboid cases, with an efficient runtime (~5 FPS) and a total of 22.3 million parameters. Ablation studies identify optimal configurations (e.g., loss weights, number of TPS control points) and demonstrate the benefits of simultaneous edge+corner warping, while acknowledging occlusion as a limitation and proposing future two-stage strategies to mitigate it. The work also suggests a broader applicability of TPS-based warping to other vision tasks beyond room layout estimation.
Abstract
Accurately estimating the 3D layout of rooms is a crucial task in computer vision, with potential applications in robotics, augmented reality, and interior design. This paper proposes a novel model, PanoTPS-Net, to estimate room layout from a single panorama image. Leveraging a Convolutional Neural Network (CNN) and incorporating a Thin Plate Spline (TPS) spatial transformation, the architecture of PanoTPS-Net is divided into two stages: First, a convolutional neural network extracts the high-level features from the input images, allowing the network to learn the spatial parameters of the TPS transformation. Second, the TPS spatial transformation layer is generated to warp a reference layout to the required layout based on the predicted parameters. This unique combination empowers the model to properly predict room layouts while also generalizing effectively to both cuboid and non-cuboid layouts. Extensive experiments on publicly available datasets and comparisons with state-of-the-art methods demonstrate the effectiveness of the proposed method. The results underscore the model's accuracy in room layout estimation and emphasize the compatibility between the TPS transformation and panorama images. The robustness of the model in handling both cuboid and non-cuboid room layout estimation is evident with a 3DIoU value of 85.49, 86.16, 81.76, and 91.98 on PanoContext, Stanford-2D3D, Matterport3DLayout, and ZInD datasets, respectively. The source code is available at: https://github.com/HatemHosam/PanoTPS_Net.
