Introduction
In computer-aided design (CAD) and geometric modeling, curves are typically represented in either parametric or implicit forms. Parametric representations are ideal for generating points along a curve, while implicit representations—defined by the zero-set of a polynomial $f(x, y) = 0$—are superior for determining if a point lies on a curve or for calculating intersections. The process of converting a parametric curve into an implicit one, known as implicitization, is a core challenge in the field.
The Challenge: Unwanted Branches and Overfitting
Traditional "exact" implicitization often produces high-degree polynomials that are numerically unstable. Approximate methods aim to find a lower-degree polynomial that closely fits the curve. However, these methods frequently suffer from "unwanted branches"—mathematical artifacts like extra loops or lines that do not exist in the original parametric curve. Furthermore, selecting the optimal polynomial degree usually requires manual intervention or trial and error.
The Weak Gradient Method (WGM)
This paper introduces the Weak Gradient Method (WGM), which addresses these issues through two primary innovations:
1. Weak Gradient Constraint (WGC)
Standard approximate implicitization often employs a "strong" gradient constraint, requiring the gradient of the implicit function $\nabla f$ to match the normal vector of the parametric curve in both direction and magnitude. The authors argue this is overly restrictive. Instead, they propose the Weak Gradient Constraint (WGC), which only requires $\nabla f$ to be perpendicular to the curve's tangent vector. This provides the optimization process with more flexibility, allowing the implicit curve to follow the shape accurately without being forced into rigid, artifact-inducing configurations.
2. Adaptive Degree Selection
To eliminate the need for manual parameter tuning, the authors developed an adaptive algorithm. It begins with a low-degree polynomial ($n=1$) and incrementally increases the degree. By monitoring the "loss" of the weak gradient constraint, the algorithm identifies the point where the model transitions from underfitting to an optimal fit. If the degree increases further, the loss typically rises, signaling overfitting and the potential emergence of unwanted branches.
Performance and Results
The WGM was tested against benchmark curves, including complex Bézier and non-polynomial shapes. A key comparison was made with the classic Dokken’s method (DM).
As shown in the figure above, the WGM consistently produces shape-preserving implicitizations. While Dokken's method begins to generate unwanted branches as the polynomial degree increases (visible at $n=5$), the WGM maintains a clean representation.
Quantitatively, the WGM is exceptionally efficient. In tests involving a complex spiral curve, the WGM achieved a result in 0.0051 seconds, compared to 166.58 seconds for a recent metaheuristic approach—a speedup of over 30,000x.
Conclusion
The Weak Gradient Method offers a robust, fast, and automated solution for the approximate implicitization of planar curves. By relaxing gradient constraints and implementing an adaptive degree selection process, it effectively solves the long-standing problem of unwanted branches in geometric modeling. Future work will focus on extending this 2D framework to 3D surfaces and space curves.
Summary updated