Abstract
We consider the problem of estimating the spatial layout of an indoor scene from a monocular RGB image, modeled as the projection of a 3D cuboid. Existing solutions to this problem often rely strongly on hand-engineered features and vanishing point detection, which are prone to failure in the presence of clutter. In this paper, we present a method that uses a fully convolutional neural network (FCNN) in conjunction with a novel optimization framework for generating layout estimates. We demonstrate that our method is robust in the presence of clutter and handles a wide range of highly challenging scenes. We evaluate our method on two standard benchmarks and show that it achieves state of the art results, outperforming previous methods by a wide margin.
Introduction
Estimating the layout of a room—identifying which pixels belong to the floor, ceiling, and specific walls—is a foundational task for indoor navigation, augmented reality, and object detection. However, doing this from a single (monocular) image is notoriously difficult.
Most traditional methods rely on the "Manhattan World" assumption (rooms are essentially boxes) and try to find the room's corners by detecting vanishing points and edges. The problem is that real rooms are full of "clutter"—furniture, people, and decorations—that occlude corners and create "noisy" edges. When a bed hides the intersection of a wall and the floor, traditional edge-based methods often break down. The authors aim to create a system that is robust to this clutter by looking at the "big picture" rather than just local edges.
The DeLay Pipeline
The authors propose a two-stage pipeline called DeLay (Deep Layout):
- Belief Map Estimation: They use an FCNN (based on the VGG16 architecture) to perform per-pixel semantic segmentation. Instead of looking for edges, the network predicts the probability that a pixel belongs to one of five classes: Left Wall, Front Wall, Right Wall, Ceiling, or Floor. This produces a "belief map"—a soft, heat-map-like representation of the room structure.
- Geometric Refinement: The raw output from a neural network is often "wavy" and doesn't follow the laws of physics (e.g., walls aren't perfectly straight). To fix this, the authors model the room as a 3D cuboid projected into a 2D image. This model is parameterized by four lines and a vanishing point.
- Optimization: They use a coordinate-ascent-style optimization to find the specific box parameters that best align with the FCNN’s belief map. This ensures the final output is geometrically consistent (straight lines, proper intersections) while benefiting from the FCNN's ability to "see through" clutter.
Key Insights and Robustness
The core innovation is the synergy between semantic and geometric reasoning. While CNNs are excellent at identifying what a surface is (semantics), they are poor at enforcing where it should be mathematically (geometry). By using the CNN output as a "scoring function" for a geometric model, the system gets the best of both worlds.
Because the FCNN learns features from the entire scene, it can infer the location of a wall even if the actual corner is hidden behind a sofa. It learns the "context" of a wall rather than just looking for a line. Furthermore, the paper identifies a subtle issue: is a wall "Front" or "Side"? Depending on the camera angle, this is subjective. They introduced a modified scoring function that allows the optimizer to switch labels if it improves the geometric fit, preventing the model from being "penalized" for a valid but different labeling choice.
Experimental Results
The model was trained and evaluated on two primary benchmarks:
- LSUN (Large-scale Scene Understanding) Room Layout Dataset: A massive dataset containing thousands of diverse indoor scenes.
- Hedau Dataset: A classic benchmark for room layout estimation consisting of 209 training and 104 testing images.
The DeLay framework significantly outperformed all previous methods at the time of publication. On the Hedau Dataset, it achieved a 9.73% pixel error, a massive jump from the previous state-of-the-art of 12.7%. On the LSUN Dataset, it achieved a 10.63% pixel error and an 8.20% corner error. Qualitatively, the model succeeds in scenes with extreme lighting variations and nearly uniform wall colors where traditional edge-detectors would find nothing to grab onto.
Limitations and Future Work
While the CNN is fast (8 fps), the optimization refinement takes about 30 seconds per frame, making it unsuitable for real-time applications like robotics without further optimization. Additionally, the method assumes the room is a simple cuboid, which may not hold for complex architectural features like L-shaped rooms or alcoves. Future work could involve "joint segmentation"—simultaneously identifying the layout and the objects (clutter) within it—to better understand how the floor continues underneath furniture.
Summary updated