skip to main content
10.1145/800059.801153acmconferencesArticle/Chapter ViewAbstractPublication PagessiggraphConference Proceedingsconference-collections
Article
Free Access

Curve-fitting with piecewise parametric cubics

Authors Info & Claims
Published:01 July 1983Publication History

ABSTRACT

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.

References

  1. 1.Aho, A.V., Hopcroft, J.E. and Ullman, J.D., The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, Massachusetts, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.Barnhill, R.E. and Riesenfeld, R.F., eds., Computer Aided Geometric Design, Academic Press, New York, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Baudelaire, P. and Stone, M., "Techniques for Interactive Raster Graphics." Computer Graphics 14, 3 (1980), 302-307. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.Baudelaire, P.,The Draw User's Manual, internal report. Xerox Palo Alto Research Center, Palo Alto, CA, 1978.Google ScholarGoogle Scholar
  5. 5.Baudelaire, P., The Fred User's Manual, internal report. Xerox Palo Alto Research Center, Palo Alto, CA, 1976.Google ScholarGoogle Scholar
  6. 6.Bellman, R., Dynamic Programming, University Press, Princeton, N.J., 1957. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.Chung, W.L., "Automatic Curve Fitting Using and Adaptive Local Algorithm." ACM Transactions on Mathematical Software 6, 1 (1980), 45-57. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.Conte, S.D., and de Boor, C., Elementary Numerical Analysis: An Algorithmic Approach, second edition, McGraw-Hill, New York, 1972. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.Cox, M. G., "Curve Fitting with Piecewise Polynomials." J. Inst. Maths Applications 8, (1971), 36-52.Google ScholarGoogle ScholarCross RefCross Ref
  10. 10.de Boor, C., A Practical Guide to Splines, Springer-Verlag, 1978.Google ScholarGoogle Scholar
  11. 11.Dierckx, P., "Algorithms for Smoothing Data with Periodic and Parametric Splines." Computer Graphics and Image Processing 20, (1982), 171-184.Google ScholarGoogle ScholarCross RefCross Ref
  12. 12.Faux, I.D., and Pratt, M.J., Computational Geometry for Design and Manufacture, Ellis Horwood, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.Flegal, R., private communication. Xerox Palo Alto Research Center, Palo Alto, CA, 1978.Google ScholarGoogle Scholar
  14. 14.Ichida, K and Yoshimoto, F., "Curve Fitting by a One-Pass Method with a Piecewise Cubic Polynomial." ACM Transactions on Mathematical Software 3, 2 (1977), 164-174. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.Knuth, D.E., TEX and Metafont: New Directions in Typesetting, Digital Press and American Mathematical Society, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.Lipkie, D.E., Evans, S.R., Newlin, J.K., and Weissman, R.L., "Star Graphics: An Object-Oriented Implementation." Computer Graphics 16, 3 (1982), 115-124. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17.Manning, J. R., "Continuity Conditions for Spline Curves." Computer Journal 17, (1974), 181-186.Google ScholarGoogle ScholarCross RefCross Ref
  18. 18.Nielson, G. M. "Some Piecewise Polynomial Alternatives to Splines in Tension" in Computer Aided Geometric Design, Barnhill, R.E. and Riesenfeld, R.F., eds., Academic Press, New York, 1974.Google ScholarGoogle Scholar
  19. 19.Pavlidis, T., Algorithms for Graphics and Image Processing, Computer Science Press, 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. 20.Reeves, W. T., "Quantitative Representation of Complex Dynamic Shapes for Motion Analysis." PhD Thesis, Department of Computer Science, University of Toronto, 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. 21.Rice, J. R., The Approximation Of Functions, vols. 1 and 2, Addison-Wesley, Reading, Mass., 1964.Google ScholarGoogle Scholar
  22. 22.Rice, J. R., Algorithm 525. ADAPT, adaptive smooth curve fitting, ACM Transactions on Mathematical Software 4, 1 (1978) 82-94. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. 23.Rogers, D. F., and Adams, J.A., Mathematical Elements for Computer Graphics, McGraw-Hill, New York, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. 24.Schultz, M., Spline Analysis, Prentice-Hall, Englewood Cliffs, N.J., 1973.Google ScholarGoogle Scholar
  25. 25.Schumaker, Larry L., Spline Functions: Basic Theory, John Wiley & Sons, New York, 1981.Google ScholarGoogle Scholar
  26. 26.Stone, M., The Griffin User's Manual, internal report. Xerox Palo Alto Research Center, Palo Alto, CA, 1979.Google ScholarGoogle Scholar
  27. 27.Warnock, J. and Wyatt, D., "A Device Independent Graphics Imaging Model for use with Raster Devices." Computer Graphics 16, 3 (1982), 313-320. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. 28.Wu, S., Abel, J.F., and Greenburg, D.P., "An Interactive Computer Graphics Approach to Surface Representation." CACM 20, 10 (1977), 703-712. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. 29.Yamaguchi, F., "A New Curve Fitting Method Using a CRT Computer Display." Computer Graphics and Image Processing, 7 (1978), 425-437.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Curve-fitting with piecewise parametric cubics

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                SIGGRAPH '83: Proceedings of the 10th annual conference on Computer graphics and interactive techniques
                July 1983
                420 pages
                ISBN:0897911091
                DOI:10.1145/800059

                Copyright © 1983 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 1 July 1983

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • Article

                Acceptance Rates

                Overall Acceptance Rate1,822of8,601submissions,21%

                Upcoming Conference

                SIGGRAPH '24

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader