Fitting B-spline curves to point clouds by curvature-based squared distance minimization

Computing a curve to approximate data points is a problem encountered frequently in many applications in computer graphics, computer vision, CAD/CAM, and image processing. We present a novel and efficient method, called squared distance minimization (SDM), for computing a planar B-spline curve, closed or open, to approximate a target shape defined by a point cloud, that is, a set of unorganized, possibly noisy data points. We show that SDM significantly outperforms other optimization methods used currently in common practice of curve fitting. In SDM, a B-spline curve starts from some properly specified initial shape and converges towards the target shape through iterative quadratic minimization of the fitting error. Our contribution is the introduction of a new fitting error term, called the squared distance (SD) error term, defined by a curvature-based quadratic approximant of squared distances from data points to a fitting curve. The SD error term faithfully measures the geometric distance between a fitting curve and a target shape, thus leading to faster and more stable convergence than the point distance (PD) error term, which is commonly used in computer graphics and CAGD, and the tangent distance (TD) error term, which is often adopted in the computer vision community. To provide a theoretical explanation of the superior performance of SDM, we formulate the B-spline curve fitting problem as a nonlinear least squares problem and conclude that SDM is a quasi-Newton method which employs a curvature-based positive definite approximant to the true Hessian of the objective function. Furthermore, we show that the method based on the TD error term is a Gauss-Newton iteration, which is unstable for target shapes with high curvature variations, whereas optimization based on the PD error term is the alternating method that is known to have linear convergence.

[1]  Luigi Ambrosio,et al.  Curvature and distance function from a manifold , 1998 .

[2]  Eric Saux,et al.  An improved Hoschek intrinsic parametrization , 2003, Comput. Aided Geom. Des..

[3]  H. Pottmann,et al.  Computational Line Geometry , 2001 .

[4]  E. T. Y. Lee,et al.  Choosing nodes in parametric curve interpolation , 1989 .

[5]  Gerald E. Farin,et al.  Curves and surfaces for computer-aided geometric design - a practical guide, 4th Edition , 1997, Computer science and scientific computing.

[6]  Weiyin Ma,et al.  Parameterization of randomly measured points for least squares fitting of B-spline curves and surfaces , 1995, Comput. Aided Des..

[7]  Helmut Pottmann,et al.  Approximation with active B-spline curves and surfaces , 2002, 10th Pacific Conference on Computer Graphics and Applications, 2002. Proceedings..

[8]  Michael Isard,et al.  Active Contours , 2000, Springer London.

[9]  A. Ardeshir Goshtasby,et al.  Grouping and parameterizing irregularly spaced points for curve fitting , 2000, TOGS.

[10]  Michel Bercovier,et al.  Spline Curve Approximation and Design by Optimal Control Over the Knots , 2004, Computing.

[11]  Axel Ruhe,et al.  Algorithms for separable nonlinear least squares problems , 1980 .

[12]  Gerald Farin,et al.  Curves and surfaces for computer aided geometric design , 1990 .

[13]  Cary B. Phillips,et al.  Multi-weight enveloping: least-squares approximation techniques for skin animation , 2002, SCA '02.

[14]  David R. Forsey,et al.  Surface fitting with hierarchical splines , 1995, TOGS.

[15]  Ronald Fedkiw,et al.  Level set methods and dynamic implicit surfaces , 2002, Applied mathematical sciences.

[16]  Helmut Pottmann,et al.  Geometry of the Squared Distance Function to Curves and Surfaces , 2002, VisMath.

[17]  J. A. Sethian,et al.  Fast Marching Methods , 1999, SIAM Rev..

[18]  Mounib Mekhilef,et al.  Optimization of a representation , 1993, Comput. Aided Des..

[19]  Josef Hoschek,et al.  Fundamentals of computer aided geometric design , 1996 .

[20]  Wenping Wang,et al.  Control point adjustment for B-spline curve approximation , 2004, Comput. Aided Des..

[21]  Arie Jacobi,et al.  Minimization, constraints and composite Bézier curves , 1994, Comput. Aided Geom. Des..

[22]  Shi-Min Hu,et al.  A second order algorithm for orthogonal projection onto curves and surfaces , 2005, Comput. Aided Geom. Des..

[23]  John Hart,et al.  ACM Transactions on Graphics , 2004, SIGGRAPH 2004.

[24]  James A. Sethian,et al.  Level Set Methods and Fast Marching Methods , 1999 .

[25]  Desmond J. Walton,et al.  Turning point preserving planar interpolation , 1991, TOGS.

[26]  Andreas Kolb,et al.  Scattered Data Interpolation Using Data Dependant Optimization Techniques , 2002, Graph. Model..

[27]  Tony DeRose,et al.  Piecewise smooth surface reconstruction , 1994, SIGGRAPH.

[28]  Baba C. Vemuri,et al.  Shape Modeling with Front Propagation: A Level Set Approach , 1995, IEEE Trans. Pattern Anal. Mach. Intell..

[29]  Maureen Stone,et al.  Curve-fitting with piecewise parametric cubics , 1983, SIGGRAPH.

[30]  Takashi Maekawa,et al.  Surface construction by fitting unorganized curves , 2002, Graph. Model..

[31]  Frank Zeilfelder,et al.  Smooth approximation and rendering of large scattered data sets , 2001, Proceedings Visualization, 2001. VIS '01..

[32]  Theodosios Pavlidis,et al.  Curve Fitting with Conic Splines , 1983, TOGS.

[33]  Hugues Hoppe,et al.  Progressive meshes , 1996, SIGGRAPH.

[34]  J. Navarro-Pedreño Numerical Methods for Least Squares Problems , 1996 .

[35]  David G. Luenberger,et al.  Linear and Nonlinear Programming: Second Edition , 2003 .

[36]  Josef Hoschek,et al.  Intrinsic parametrization for approximation , 1988, Comput. Aided Geom. Des..

[37]  Josef Hoschek,et al.  Global reparametrization for curve approximation , 1998, Comput. Aided Geom. Des..

[38]  Carl Tim Kelley,et al.  Iterative methods for optimization , 1999, Frontiers in applied mathematics.

[39]  Georg Essl,et al.  Review of "Computational Line Geometry, by H. Pottmann and J. Wallner", Springer Verlag, 2001 , 2005, SIGA.

[40]  Mahmoud Melkemi,et al.  Range-Image segmentation and model reconstruction based on a fit-and-merge strategy , 2002, SMA '02.

[41]  Gabriel Taubin,et al.  Dual Mesh Resampling , 2001, Graph. Model..

[42]  Vaughan R. Pratt,et al.  Techniques for conic splines , 1985, SIGGRAPH.

[43]  Demetri Terzopoulos,et al.  Snakes: Active contour models , 2004, International Journal of Computer Vision.

[44]  Chia-Hsiang Menq,et al.  Parameter optimization in approximating curves and surfaces to measurement data , 1991, Comput. Aided Geom. Des..

[45]  Gábor Renner,et al.  Advanced surface fitting techniques , 2002, Comput. Aided Geom. Des..