Curve-fitting with piecewise parametric cubics

Parametric piecewise-cubic functions are used throughout the computer graphics industry to represent curved shapes. For many applications, it would be useful to be able to reliably derive this representation from a closely spaced set of points that approximate the desired curve, such as the input from a digitizing tablet or a scanner. This paper presents a solution to the problem of automatically generating efficient piecewise parametric cubic polynomial approximations to shapes from sampled data. We have developed an algorithm that takes a set of sample points, plus optional endpoint and tangent vector specifications, and iteratively derives a single parametric cubic polynomial that lies close to the data points as defined by an error metric based on least-squares. Combining this algorithm with dynamic programming techniques to determine the knot placement gives good results over a range of shapes and applications.

[1]  Sudhir P. Mudur,et al.  Mathematical Elements for Computer Graphics , 1985, Advances in Computer Graphics.

[2]  J. Rice The approximation of functions , 1964 .

[3]  W. L. Chung,et al.  Automatic Curve Fitting Using an Adaptive Local Algorithm , 1980, TOMS.

[4]  R.M. McElhaney,et al.  Algorithms for graphics and image processing , 1983, Proceedings of the IEEE.

[5]  G. Nielson SOME PIECEWISE POLYNOMIAL ALTERNATIVES TO SPLINES UNDER TENSION , 1974 .

[6]  John R. Rice Algorithm 525: ADAPT, Adaptive Smooth Curve Fitting [E2] , 1978, TOMS.

[7]  Theo Pavlidis,et al.  Algorithms for Graphics and Imag , 1983 .

[8]  J. R. Manning Continuity Conditions for Spline Curves , 1974, Comput. J..

[9]  Daniel E. Lipkie,et al.  Star graphics: An object-oriented implementation , 1982, SIGGRAPH.

[10]  Samuel D. Conte,et al.  Elementary Numerical Analysis: An Algorithmic Approach , 1975 .

[11]  John E. Warnock,et al.  A device independent graphics imaging model for use with raster devices , 1982, SIGGRAPH.

[12]  R. Furuta,et al.  TEX and METAFONT, new directions in typesetting , 1983, Proceedings of the IEEE.

[13]  M. Cox Curve Fitting with Piecewise Polynomials , 1971 .

[14]  L. Schumaker Spline Functions: Basic Theory , 1981 .

[15]  C. R. Deboor,et al.  A practical guide to splines , 1978 .

[16]  Takeshi Kiyono,et al.  Curve Fitting by a One-Pass Method With a Piecewise Cubic Polynomial , 1977, TOMS.

[17]  Patrick Baudelaire,et al.  Techniques for interactive raster graphics , 1980, SIGGRAPH '80.

[18]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[19]  Donald P. Greenberg,et al.  An interactive computer graphics approach to surface representation , 1977, SIGGRAPH '77.

[20]  Fujio Yamaguchi,et al.  A new curve fitting method using a CRT computer display , 1978 .

[21]  Paul Dierckx Algorithms for smoothing data with periodic and parametric splines , 1982, Comput. Graph. Image Process..

[22]  Joshua Lederberg Letter from Joshua Lederberg to George E. Pake, Xerox Palo Alto Research Center , 1978 .

[23]  Keith Price Review of "TEX and METAFONT, New Directions in Typesetting by Donald Knuth", Digital Press and the American Mathematical Society. , 1980, SGAR.

[24]  I. Faux,et al.  Computational Geometry for Design and Manufacture , 1979 .

[25]  William Thomas Reeves Quantitative representations of complex dynamic shape for motion analysis , 1980 .