Floorplan-Jigsaw: Jointly Estimating Scene Layout and Aligning Partial Scans

Cheng Lin, Chang-Jian Li, Wenping Wang

TL;DR

This paper introduces Floorplan-Jigsaw, a novel method for aligning partial 3D scans of indoor environments, even when they have minimal overlap. By leveraging the Manhattan World property of indoor layouts, it jointly estimates room layouts and scan transformations, enabling robust reconstruction of challenging scenes where traditional feature-matching methods fail.

What Problem Does This Paper Address?

Reconstructing 3D indoor environments from sensor data (like RGB-D cameras) is a well-studied problem. However, a significant challenge arises when capturing data is interrupted or when scanning large, featureless areas. This often results in multiple "partial scans" that have very little overlap, making it difficult for existing methods to stitch them together accurately. Traditional approaches rely heavily on matching distinctive features between scans, which are scarce in featureless regions or when scans are taken from different viewpoints with limited overlap. This paper tackles the problem of aligning these sparse, low-overlap partial scans and simultaneously estimating the underlying room layout, a task that is currently under-explored.

Methods

The core of Floorplan-Jigsaw lies in its three-step approach:

  1. Local Layout Estimation: For each partial scan, the method first estimates a local 2D floorplan. It assumes walls adhere to the Manhattan World (MW) property (perpendicular and parallel walls). This is achieved by projecting points onto a grid, identifying high wall-evidence cells, and constructing a "wall estimation graph" (WE-graph). Candidate wall segments and keypoints (like corners) are identified. To handle incomplete or occluded walls, it deduces potential keypoints and uses a shortest path algorithm on the WE-graph to find the most likely wall structure. Crucially, it also determines "source" and "target" points for each local layout, even without clear boundaries, by analyzing the longest path on a minimal spanning forest of the grid.
  2. Global Layout Placement: This step aligns the estimated local floorplans into a single, coherent global layout. It leverages the MW assumption to constrain possible rotations and translations. The method formulates an optimization problem to find the best global placement by considering three energy terms:
  3. Layout Complexity: Encourages simpler layouts with fewer corners and edges.
  4. Closure Term: Minimizes the gap between the start and end points of the concatenated local layouts to ensure a closed loop.
  5. Boundary Similarity Term: Measures the consistency of the boundary between adjacent partial scans. This optimization is solved using a constrained 0-1 programming approach with DFS and alpha-beta pruning for efficiency.

  6. Pose Refinement: After global placement, this step refines the transformations to ensure that the walls of adjacent fragments align precisely. It uses constraints based on how walls connect (parallel or perpendicular) and optimizes translations to minimize the distance between connecting wall segments.

A key innovation is the elimination of feature matching for scan alignment, relying instead on geometric priors and layout properties. The method also includes a modification to handle RGB-D image inputs by using camera frustum information to infer source/target points.

Datasets

The paper evaluates its method on:

  • SUNCG dataset: A synthetic dataset used for ground truth camera poses and layout estimation.
  • SUN3D dataset: A real-world dataset.
  • Our real-world scanning: The authors also collected their own real-world data.

The dataset consists of 101 scenes, with a mix of partial reconstructions from region-by-region capture or camera tracking failures. The scenes vary in size and complexity, with 401 partial reconstructions in total.

Key Insights and Ideas

  • Leveraging Manhattan World Priors for Alignment: The core insight is that the inherent geometric structure of indoor spaces (MW property) can be used to align scans without relying on sparse, potentially unreliable feature points. This is a significant departure from many existing SLAM and registration methods.
  • Joint Estimation of Layout and Pose: Instead of estimating pose first and then layout, or vice-versa, the method jointly optimizes both. This allows the layout to guide the pose estimation and vice-versa, leading to more consistent results.
  • Handling Low-Overlap Scans: The method is specifically designed to work with partial scans that have minimal overlap, a common scenario in practical 3D scanning that is a bottleneck for many current techniques.
  • Robustness to Featureless Regions: By not depending on feature matching, the approach inherently handles scenes with large, featureless walls or doorways where traditional methods would fail.
  • Novel Applications: The ability to align low-overlap scans opens up new possibilities like reconstructing featureless scenes, modeling from sparse inputs, and efficient RGB-D stream down-sampling.

Key Results

  • Partial Layout Estimation: Achieved an impressive 98.3% accuracy (ACClocal) on 401 partial reconstructions, demonstrating robustness even with incomplete walls.
  • Global Layout Placement: Achieved 85.1% accuracy (ACCglobal) when using all three energy terms (complexity, closure, boundary similarity), outperforming configurations that omitted any single term.
  • Pose Estimation Error: On synthetic data, the method achieved significantly lower rotation error (8.79°) and translation error (9.15%) compared to state-of-the-art methods like 3DMatch, FPFH, and OPVO, especially under low-overlap conditions.
  • Layout Reconstruction Quality: Outperformed methods like MW Modeler, PolyFit, and RAPTER with smaller average and maximal layout reconstruction errors.
  • Time Efficiency: Local layout estimation is fast (0.1s per 10k points on average), with pose determination and refinement taking less than 20s for up to 10 fragments.

Qualitatively, the results show successful alignment and reconstruction of complex scenes, including those with featureless walls and large spaces, where other methods failed.

Limitations and Future Work

  • Ambiguity: The paper acknowledges that optimal placement can sometimes be ambiguous, leading to incorrect sequences or layouts (Fig. 13). While the boundary similarity term helps, more constraints (e.g., user-specified fragment order) might be needed for truly ambiguous cases.
  • Failure Case: A failure case is shown (Fig. 14) where large overlap exists but is not detected by feature descriptors, leading to an incorrect result. This suggests that while the method is robust to lack of overlap, it might still struggle if the initial pre-processing (merging scans with sufficient overlap) fails.
  • Future Work: The paper implicitly suggests future work could involve developing more sophisticated methods to handle ambiguity and potentially integrating more advanced feature detection or pre-processing steps to better identify initial overlapping fragments. The supplementary material also details modifications for RGB-D input, hinting at future extensions in that direction.

Summary updated

BibTeX
@inproceedings{lin2018floorplan,
  author = {Cheng Lin and Chang-Jian Li and Wenping Wang},
  title = {{Floorplan-Jigsaw: Jointly Estimating Scene Layout and Aligning Partial Scans}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=er7N-aCbuL},
}
Figure