Abstract
To identify and fit geometric primitives (e.g., planes, spheres, cylinders, cones) in a noisy point cloud is a challenging yet beneficial task for fields such as robotics and reverse engineering. As a multi-model multi-instance fitting problem, it has been tackled with different approaches including RANSAC, which however often fit inferior models in practice with noisy inputs of cluttered scenes. Inspired by the corresponding human recognition process, and benefiting from the recent advancements in image semantic segmentation using deep neural networks, we propose BAGSFit as a new framework addressing this problem. Firstly, through a fully convolutional neural network, the input point cloud is point-wisely segmented into multiple classes divided by jointly detected instance boundaries without any geometric fitting. Thus, segments can serve as primitive hypotheses with a probability estimation of associating primitive classes. Finally, all hypotheses are sent through a geometric verification to correct any misclassification by fitting primitives respectively. We performed training using simulated range images and tested it with both simulated and real-world point clouds. Quantitative and qualitative experiments demonstrated the superiority of BAGSFit.
Introduction
In robotics and reverse engineering, decomposing complex 3D scenes into simple geometric shapes—planes, cylinders, or spheres—is a fundamental task. This "multi-model multi-instance fitting" problem is traditionally plagued by a "chicken-and-egg" dilemma: determining a shape's mathematical parameters requires knowing which points belong to it, yet identifying those points requires knowing the parameters.
Standard approaches like RANSAC (Random Sample Consensus) rely on iterative guessing and checking. However, in cluttered environments with sensor noise, RANSAC often fails, producing "ghost" shapes or missing small objects overshadowed by larger ones. BAGSFit (Boundary Aware Geometric Segmentation Fitting) addresses this by mimicking human perception: recognizing objects qualitatively before measuring them quantitatively.
Methodology: The BAGSFit Framework
The BAGSFit framework decouples the problem into two main stages: deep geometric segmentation and subsequent geometric verification.
1. Deep Geometric Segmentation
Instead of immediate mathematical fitting, the system employs a Fully Convolutional Network (FCN) based on a 101-layer ResNet. The network processes range images—specifically estimated surface normals—to perform point-wise semantic segmentation. The researchers found that surface normals capture local geometric features more effectively than raw 3D coordinates.
2. Boundary Awareness and Multi-Binomial Loss
A critical innovation is the detection of instance boundaries. By training the network to identify boundaries, BAGSFit can distinguish between adjacent instances of the same class (e.g., two touching planes). To handle class imbalance (e.g., the prevalence of planes over cones), a specialized Multi-Binomial Loss function is used to balance training importance across different primitive types.
3. Geometric Verification
The segmented groups serve as "primitive hypotheses." These are passed to a geometric verification step where Efficient RANSAC calculates final mathematical parameters. Because the search space is restricted to pre-segmented clusters, the fitting process is significantly faster and more accurate than global RANSAC.
Experimental Setup and Datasets
Due to the lack of large-scale datasets for geometric primitive segmentation, the authors generated a Simulated Dataset using the Blensor simulator. This dataset includes 3,456 Kinect-like scans of random scenes containing planes, spheres, cylinders, cones, and complex NURBS surfaces ("Other"). Despite being trained solely on simulation, the model generalizes remarkably well to Real-World Data from Microsoft Kinect sensors, highlighting the consistency of 3D geometry compared to RGB data.
Results and Discussion
BAGSFit demonstrates significant improvements over traditional RANSAC baselines in both qualitative and quantitative metrics.
Key Findings
- Superior Robustness: BAGSFit remains robust in cluttered scenes where standard RANSAC produces numerous false detections.
- Quantitative Gains: The framework achieved significantly higher Primitive Average Precision (PAP) scores compared to baselines.
- Boundary Precision: The inclusion of boundary detection prevents "point pollution," where points from one object interfere with the mathematical fit of an adjacent one, thereby reducing average fitting error.
- Comparison with MaskRCNN: While MaskRCNN is a standard for object detection, it struggled with geometric primitives. The authors attribute this to the "Region of Interest" resizing in MaskRCNN, which distorts the precise geometric properties essential for primitive fitting.
Conclusion and Future Work
BAGSFit proves that qualitative segmentation is a powerful pre-filter for quantitative estimation. By transforming a "multi-model" nightmare into a simpler "multi-instance" problem, it achieves state-of-the-art results in primitive fitting.
Current limitations include a fixed library of primitives and a heuristic "arg max" grouping strategy. Future research could explore utilizing the network's probability maps to guide the RANSAC sampling process more intelligently and expanding the library of recognizable shapes.
Reference: Li, D., & Feng, C. (2018). Primitive Fitting Using Deep Boundary Aware Geometric Segmentation. arXiv:1810.01604.
Summary updated