Abstract
Estimating depth from 360° indoor panoramas is a significant challenge due to equirectangular distortion and occlusion by furniture. This paper introduces a deep learning framework that leverages the geometric "skeleton" of a room—its corners, boundaries, and planes—as both a prior and a regularizer. By incorporating an attention module to identify and ignore furniture clutter, the model learns to reconstruct the underlying room structure. Experiments on a new synthetic dataset and the Stanford 2D-3D-S benchmark demonstrate state-of-the-art accuracy and robustness in 3D scene reconstruction.
Introduction
Single-image depth estimation is a cornerstone of computer vision, with applications ranging from robotics to augmented reality. 360° (omnidirectional) cameras are particularly suited for indoor environments as they provide a holistic view of the scene. However, they present two significant challenges: equirectangular distortion, which warps standard convolutional kernels, and furniture clutter, which hides the structural boundaries essential for depth inference.
Existing methods often fail to account for the global geometry of the room or struggle when objects like beds and sofas mask the floor-wall boundaries. This work addresses these issues by treating geometry as a "virtuous cycle" within the learning process, ensuring that the final 3D reconstruction is physically and geometrically plausible rather than a distorted "blob."
Methodology
The proposed framework consists of a two-stage process that utilizes geometric structure in distinct ways, mediated by an attention mechanism to handle environmental clutter.
1. Structure as a Prior
The model first extracts geometric features—corners, boundaries, and planes—directly from the RGB panorama. These features act as a structural "hint" to guide the initial depth estimation network.
2. The Attention Module
To handle clutter, the network predicts a "furniture mask." This attention map tells the model which pixels belong to the room's permanent structure and which are temporary objects. By weighting the geometric features, the model can perform "counterfactual depth estimation," predicting what the depth of a room would look like if all furniture were removed.
3. Structure as a Regularizer
In the second stage, the model tries to infer the room's geometry from its own predicted depth map. If the predicted depth does not result in clean corners and flat walls, the model is penalized. This forces the depth map to adhere to the "Manhattan World" assumption of flat planes and right angles.
Datasets and Evaluation
The model was trained and evaluated using two primary datasets:
- Stanford 2D-3D-S: A standard real-world dataset of indoor panoramas used for benchmarking.
- Shanghaitech-Kujiale Indoor 360°: A newly introduced synthetic dataset containing 3,550 images. Crucially, it provides paired images of the exact same room both with and without furniture, allowing the model to learn exactly how furniture masks the underlying structure.
Key Results
The proposed method significantly outperformed several state-of-the-art baselines, including FCRN and RectNet, on the Stanford 2D-3D-S dataset:
- Accuracy: The model achieved a Relative Error (Rel) of 0.118, significantly lower than FCRN (0.164) and RectNet (0.181).
- Robustness: The Root Mean Square (RMS) error dropped to 0.421, indicating much tighter and more reliable predictions.
- Qualitative Quality: Visual results show much sharper corners and flatter wall surfaces. Ablation studies confirmed that boundaries (the lines where walls meet floors or ceilings) are the most critical structural elements, acting as the "glue" connecting the scene.
Limitations and Future Work
While the model excels in standard indoor settings, it relies heavily on the Manhattan World assumption and may struggle with complex, curved architecture. Future work could involve incorporating instance-level object detection to refine the attention mask and extending the framework to handle non-orthogonal room layouts.
Summary updated