Deep Algebraic Fitting for Multiple Circle Primitives Extraction from Raw Point Clouds

Zeyong Wei, Honghua Chen, Hao Tang, Qian Xie, Mingqiang Wei, Jun Wang

Abstract

Extracting geometric primitives from noisy 3D point clouds is a fundamental challenge in industrial quality control. This paper introduces Circle-Net, an end-to-end deep learning framework that extracts multiple circle primitives by synergizing boundary point classification with a novel weighted algebraic fitting layer. By co-training these components, Circle-Net achieves state-of-the-art precision and robustness, making it suitable for high-accuracy industrial tasks like rivet hole inspection.

Introduction

In high-precision manufacturing, such as aviation, inspecting thousands of rivet holes for circularity is a critical task. However, raw 3D scans are often "messy," containing noise, outliers, and missing data due to sensor limitations or surface reflections. Traditional methods typically employ a decoupled two-step pipeline: boundary point detection followed by circle fitting. This approach is inherently brittle; errors in the initial classification phase propagate to the fitting stage, often resulting in inaccurate geometric primitives. Furthermore, manual tuning of weighting functions for outlier rejection is difficult to generalize across varying scan qualities.

Methodology: The Circle-Net Framework

Circle-Net addresses these limitations by treating classification and fitting as a single, integrated task. The architecture consists of two primary stages:

1. Circle-Boundary Point Classification

The network analyzes both local neighborhoods and global patches to identify potential circle boundaries. A key innovation is the use of 2D Projection Maps. Since circles are planar primitives, projecting 3D points onto 2D grids provides a structural prior that helps the network distinguish circle boundaries from other sharp edges. A Transformer-based module then fuses these multi-scale features, allowing the network to better understand the relationship between local details and the overall circular structure.

2. Weighted Algebraic Fitting

Instead of using a fixed mathematical formula to weight points, Circle-Net learns a weight for every point. High weights are assigned to "clean" boundary points, while noisy outliers receive low weights. These weights are fed into a differentiable Algebraic Fitting layer based on the "Hyper" fitting method. This non-iterative approach is significantly faster than geometric fitting and less biased toward small circular arcs.

Overview of the Circle-Net pipeline, integrating point classification with weighted algebraic fitting.

The entire system is optimized using a joint loss function that penalizes both misclassification and deviations in the final circle's center and radius.

Experimental Results

The performance of Circle-Net was evaluated on synthetic benchmarks featuring various circular structures and real-world industrial scans from sensors like the MetraSCAN 3D.

Synthetic Evaluation

On synthetic datasets with varying levels of Gaussian noise, Circle-Net achieved an F1 score of 81.58% for boundary detection, significantly outperforming previous state-of-the-art methods like PIE-NET (73.64%).

Industrial Application

In real-world rivet hole inspections, the method achieved a radius deviation of approximately 0.016mm. This surpasses the strict "H" accuracy requirement (0.02mm) used in aviation standards—a benchmark that most existing methods fail to reach.

Comparison of Circle-Net against traditional and deep learning baselines on raw point cloud data.

Robustness

The learned weighting mechanism enables the model to maintain high accuracy even under 1.0% Gaussian noise, where traditional RANSAC-based methods typically fail.

Conclusion

Circle-Net demonstrates that the synergy between classification and fitting is essential for robust primitive extraction from messy 3D data. By making the algebraic fitting process differentiable and integrating it with deep feature extraction, the framework combines the strengths of classical geometry with modern AI. Future work will focus on extending this approach to handle elliptical structures and improving sensitivity to varying circle sizes.

Reference: Wei, Z., et al. "Deep Algebraic Fitting for Multiple Circle Primitives Extraction from Raw Point Clouds." arXiv:2204.00920v1, 2022.

Summary updated

Abstract

The shape of circle is one of fundamental geometric primitives of man-made engineering objects. Thus, extraction of circles from scanned point clouds is a quite important task in 3D geometry data processing. However, existing circle extraction methods either are sensitive to the quality of raw point clouds when classifying circle-boundary points, or require well-designed fitting functions when regressing circle parameters. To relieve the challenges, we propose an end-to-end Point Cloud Circle Algebraic Fitting Network (Circle-Net) based on a synergy of deep circle-boundary point feature learning and weighted algebraic fitting. First, we design a circle-boundary learning module, which considers local and global neighboring contexts of each point, to detect all potential circle-boundary points. Second, we develop a deep feature based circle parameter learning module for weighted algebraic fitting, without designing any weight metric, to avoid the influence of outliers during fitting. Unlike most of the cutting-edge circle extraction wisdoms, the proposed classification-and-fitting modules are originally co-trained with a comprehensive loss to enhance the quality of extracted circles.Comparisons on the established dataset and real-scanned point clouds exhibit clear improvements of Circle-Net over SOTAs in terms of both noise-robustness and extraction accuracy. We will release our code, model, and data for both training and evaluation on GitHub upon publication.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Circle-boundary point detection on 54 virtually-scanned point cloudsCircle-NetF181.58%+7.94 vs baselinenoise=0.1%, 0.5%, 1% Gaussian
Source quote
L241: F1 │ 49.21 │ 28.61 │ 45.66 │ 29.43 │ 73.64 │ 81.58
Circle fitting on the 54 virtually-scanned point-cloud testing setCircle-NetAverage center deviation AD(c)0.421035 mm-0.02 vs baselinesplit: test · noise=0.1%
Source quote
L261: Ours │ 0.421035 │ 0.103621 │ 0.016823 │ 0.398301 │ 0.082654 │ 0.01207 │ 0.671365 │ 0.016359 │ 0.006351
Circle fitting on the 54 virtually-scanned point-cloud testing setCircle-NetAverage radius deviation AD(r)0.016359 mm-0.24 vs baselinesplit: test · noise=1%
Source quote
L261: Ours │ 0.421035 │ 0.103621 │ 0.016823 │ 0.398301 │ 0.082654 │ 0.01207 │ 0.671365 │ 0.016359 │ 0.006351
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
Circle-boundary point detection on 54 virtually-scanned point cloudsPIE-NET baselineF173.64%noise=0.1%, 0.5%, 1% Gaussian
Source quote
L241: F1 │ 49.21 │ 28.61 │ 45.66 │ 29.43 │ 73.64 │ 81.58
Circle fitting on the 54 virtually-scanned point-cloud testing setRANSAC baselineAverage center deviation AD(c)0.438734 mmsplit: test · noise=0.1%
Source quote
L255: RANSAC │ 0.438734 │ 0.309176 │ 0.103949 │ 0.454232 │ 0.377379 │ 0.172154 │ 0.809487 │ 0.281098 │ 0.108321
Circle fitting on the 54 virtually-scanned point-cloud testing setRLTS baselineAverage radius deviation AD(r)0.252474 mmsplit: test · noise=1%
Source quote
L256: RLTS │ 0.469162 │ 0.278478 │ 0.080783 │ 0.50883 │ 0.239431 │ 0.092588 │ 0.707097 │ 0.252474 │ 0.075499
BibTeX
@misc{wei2022deep,
  author = {Zeyong Wei and Honghua Chen and Hao Tang and Qian Xie and Mingqiang Wei and Jun Wang},
  title = {{Deep Algebraic Fitting for Multiple Circle Primitives Extraction from Raw Point Clouds}},
  year = {2022},
  eprint = {2204.00920},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.00920},
}
Figure