Introduction
3D scene reconstruction from multiple images is a foundational problem in computer vision. Traditional approaches generally fall into two categories: multiview stereo (MVS), which relies on high image overlap for dense triangulation, and learned single-view reconstruction, which predicts geometry from a single image but often fails to maintain global consistency across multiple viewpoints.
A particularly challenging middle ground is the "sparse view" setting. In this scenario, images are captured from wide baselines with minimal overlap and unknown relative camera poses. Traditional optimization-based pipelines often struggle here due to the lack of reliable point correspondences and the brittleness of hand-tuned loops. PlaneFormers addresses this by shifting the focus from pixel-level features to high-level geometric primitives—planes—and using a transformer-based architecture to reason about their relationships.
Methodology
The PlaneFormers framework operates through a three-stage pipeline designed to jointly estimate plane correspondences and camera poses.
1. Backbone Plane Prediction
The process begins with an augmented version of PlaneRCNN. For each input image, the backbone extracts plane segments, providing a segmentation mask, 3D parameters (normal and offset), and a high-dimensional appearance embedding. Simultaneously, a dedicated camera branch generates a set of initial relative pose hypotheses to seed the refinement process.
2. The Plane Transformer
The core innovation is the PlaneFormer, a transformer architecture that treats detected planes as discrete tokens. Each token is an 899-dimensional vector composed of:
- Appearance Features: Visual descriptors captured by the backbone.
- 3D Plane Features: Geometric parameters transformed into a hypothesized common coordinate system.
- Mask Features: The plane’s segmentation mask, warped to a reference frame based on the hypothesized camera pose.
By concatenating these features, the transformer can perform joint reasoning over both the visual appearance and the geometric feasibility of the scene layout. This allows the model to utilize geometric context—for instance, recognizing that two visually similar planes cannot match if their hypothesized spatial positions are contradictory.
3. Joint Reasoning and Refinement
The output tokens from the transformer are processed by Multi-Layer Perceptron (MLP) heads to predict three critical components:
- Plane Correspondence: Identifying which planes across different views represent the same physical surface.
- Camera Correspondence: A confidence score indicating the likelihood that the current hypothesized camera pose is correct.
- Camera Residual: A 7D vector (quaternion and translation) used to "nudge" and refine the camera pose for better alignment.
By running a forward pass for several pose hypotheses, the system selects the most consistent one and refines it, acting as a sophisticated ranker and refiner rather than a purely generative model.
Experimental Evaluation
The model was trained and evaluated using the Matterport3D dataset, focusing on challenging two-view pairs characterized by a mean rotation of 53° and a mean translation of 2.3 meters, with only 21% overlap.
Quantitative Performance
PlaneFormers demonstrated significant improvements over the previous state-of-the-art, Sparse Planes. Specifically:
- Pose Estimation: The percentage of image pairs registered within a 1-meter error threshold increased from 56.5% to 66.8%.
- Correspondence Accuracy: The fraction of pairs achieving 90% correct plane matches rose from 28.1% to 40.6%.
Multiview Scalability
Beyond image pairs, the authors demonstrated the model's capability on 3-view and 5-view datasets. By constructing a visibility graph and applying the pairwise reconstruction logic greedily, PlaneFormers successfully reconstructed complex indoor environments that are typically inaccessible to standard MVS techniques due to the wide baselines involved.
Discussion and Insights
The success of PlaneFormers highlights the power of treating high-level structural elements as tokens. This "discrete" reasoning about the scene structure is more robust than pixel-level matching in wide-baseline scenarios. Furthermore, the inclusion of warped masks and transformed plane equations provides the transformer with explicit geometric cues that are often missing in purely appearance-based models.
Limitations and Future Work
Despite its strengths, PlaneFormers is constrained by its reliance on planar geometry. It is less effective in highly cluttered or non-planar environments. Furthermore, the reconstruction quality is inherently limited by the initial detections of the backbone; if the backbone fails to identify a surface, the transformer cannot recover it. Future work may involve hybrid models that combine the structural stability of planes with the fine-grained detail of point-feature-based methods to achieve both stability and precision.
Summary updated