Abstract
A new method is presented to determine parameter values (knot) for data points for curve and surface generation. With four adjacent data points, a quadratic polynomial curve can be determined uniquely if the four points form a convex polygon. When the four data points do not form a convex polygon, a cubic polynomial curve with one degree of freedom is used to interpolate the four points, so that the interpolant has better shape, approximating the polygon formed by the four data points. The degree of freedom is determined by minimizing the cubic coefficient of the cubic polynomial curve. The advantages of the new method are, firstly, the knots computed have quadratic polynomial precision, i.e., if the data points are sampled from a quadratic polynomial curve, and the knots are used to construct a quadratic polynomial, it reproduces the original quadratic curve. Secondly, the new method is affine invariant, which is significant, as most parameterization methods do not have this property. Thirdly, it computes knots using a local method. Experiments show that curves constructed using knots computed by the new method have better interpolation precision than for existing methods.
Article PDF
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
References
Ahlberg, J. H.; Nilson, E.; Walsh, J. L. The Theory of Splines and Their Applications. Academic Press, 1967.
Boor, C. D. A Practical Guide to Splines. Springer-Verlag New York, 1978.
Brodlie, K. W. A review of methods for curve and function drawing. In: Mathematical Methods in Computer Graphics and Design. London: Academic Press, 33–37, 1980.
Faux, I. D.; Pratt, M. J. Computational Geometry for Design and Manufacture. Halsted Press, 1979.
Su, B. Q.; Liu, D. Y. Computational Geometry: Curve and Surface Modeling. Academic Press, 1989.
Li, W. S.; Xu, S. H.; Zheng, J. M.; Zhao, G. Target curvature driven fairing algorithm for planar cubic B-spline curves. Computer Aided Geometric Design Vol. 21, No. 5, 499–513, 2004.
Lü, W. Curves with chord length parameterization. Computer Aided Geometric Design Vol. 26, No. 3, 342–350, 2009.
Farin, G. Curves and Surfaces for Computer Aided Geometric Design: A Practical Guide. Academic Press, 1988.
Lee, E. T. Y. Choosing nodes in parametric curve interpolation. Computer-Aided Design Vol. 21, No. 6, 363–370, 1989.
Jeong, S. Y.; Choi, Y. J.; Park, P. Parametric interpolation using sampled data. Computer-Aided Design Vol. 38, No. 1, 39–47, 2006.
Yuksel, C.; Schaefer, S.; Keyser, J. Parameterization and applications of Catmull-Rom curves. Computer-Aided Design Vol. 43, No. 7, 747–755, 2011.
Fang, J. J.; Hung, C. L. An improved parameterization method for B-spline curve and surface interpolation. Computer-Aided Design Vol. 45, No. 6, 1005–1028, 2013.
Lim, C. G. A universal parametrization in B-spline curve and surface interpolation. Computer Aided Geometric Design Vol. 16, No. 5, 407–422, 1999.
Zhang, C. M.; Cheng, F. H. F.; Miura, K. T. A method for determining knots in parametric curve interpolation. Computer Aided Geometric Design Vol. 15, No. 4, 399–416, 1998.
Zhang, C. M.; Wang, W. P.; Wang, J. Y.; Li, X. M. Local computation of curve interpolation knots with quadratic precision. Computer-Aided Design Vol. 45, No. 4, 853–859, 2013.
Hartley, P. J.; Judd, C. J. Parametrization and shape of B-spline curves for CAD. Computer-Aided Design Vol. 12, No. 5, 235–238, 1980.
Marin, S. P. An approach to data parametrization in parametric cubic spline interpolation problems. Journal of Approximation Theory Vol. 41, No. 1, 64–86, 1984.
Li, X. M.; Zhang, F.; Chen, G. N.; Zhang, C. M. Formula for computing knots with minimum stress and stretching energies. Science China Information Sciences Vol. 61, No. 5, Article No. 052104, 2017.
Lin, F. M.; Shen, L. Y.; Yuan, C. M.; Mi, Z. P. Certified space curve fitting and trajectory planning for CNC machining with cubic B-splines. Computer-Aided Design Vol. 106, 13–29, 2019.
Yang, Z. Y.; Shen, L. Y.; Yuan, C. M.; Gao, X. S. Curve fitting and optimal interpolation for CNC machining under confined error using quadratic B-splines. Computer-Aided Design Vol. 66, 62–72, 2015.
Floater, M. S.; Reimers, M. Meshless parameterization and surface reconstruction. Computer Aided Geometric Design Vol. 18, No. 2, 77–92, 2001.
Gotsman, C.; Gu, X. F.; Sheffer, A. Fundamentals of spherical parameterization for 3D meshes. In: Proceedings of the ACM SIGGRAPH 2003 Papers, 358–363, 2003.
Gu, X. F.; Yau, S. T. Global conformal surface parameterization. In: Proceedings of the Eurographics/ACM SIGGRAPH Symposium on Geometry Processing, 127–137, 2003.
Xie, H.; Qin, H. A novel optimization approach to the effective computation of NURBS knots. International Journal of Shape Modeling Vol. 7, No. 2, 199–227, 2001.
Farin, G. Rational quadratic circles are parametrized by chord length. Computer Aided Geometric Design Vol. 23, No. 9, 722–724, 2006.
Bastl, B.; Jüttler, B.; Lávička, M.; Schicho, J.; Šír, Z. Spherical quadratic Bézier triangles with chord length parameterization and tripolar coordinates in space. Computer Aided Geometric Design Vol. 28, No. 2, 127–134, 2011.
Bastl, B.; Juttler, B.; Lávička, M.; Šír, Z. Curves and surfaces with rational chord length parameterization. Computer Aided Geometric Design Vol. 29, No. 5, 231–241, 2012.
Tsuchie, S.; Okamoto, K. High-quality quadratic curve fitting for scanned data of styling design. Computer-Aided Design Vol. 71, 39–50, 2016.
Han, X. L. A class of general quartic spline curves with shape parameters. Computer Aided Geometric Design Vol. 28, No. 3, 151–163, 2011.
Bashir, U.; Abbas, M.; Ali, J. M. The G2 and C2 rational quadratic trigonometric Bezier curve with two shape parameters with applications. Applied Mathematics and Computation Vol. 219, No. 20, 10183–10197, 2013.
Antonelli, M.; Beccari, C. V.; Casciola, G. High quality local interpolation by composite parametric surfaces. Computer Aided Geometric Design Vol. 46, 103–124, 2016.
Acknowledgements
This work was supported in part by the following: National Natural Science Foundation of China under Grant Nos. 61602277 and 61772319, Natural Science Foundation of Shandong Province under Grant Nos. ZR2016FQ12 and ZR2018BF009, Key Research and Development Program of Yantai City under Grant No. 2017ZH065, CERNET Innovation Project under Grant No. NGII20161204, and Science and Technology Innovation Program for Distributed Young Talents of Shandong Province Higher Education Institutions under Grant No. 2019KJN042.
Author information
Authors and Affiliations
Corresponding author
Additional information
Fan Zhang received his B.S. and Ph.D. degrees in computer science from Shandong University in 2009 and 2015, respectively. From 2012 to 2014, he visited the Department of Computer Science, University of Kentucky, USA, joint-training Ph.D. student. He is currently an associate professor with the School of Computer Science and Technology, Shandong Business and Technology University. His research interests include image processing, computer vision, computer graphics, and CAGD.
Jinjiang Li received his B.S. and M.S. degrees in computer science from Taiyuan University of Technology, China, in 2001 and 2004, respectively, and his Ph.D. degree in computer science from Shandong University, Jinan, China, in 2010. From 2004 to 2006, he was an assistant research fellow with the Institute of Computer Science and Technology, Peking University. From 2012 to 2014, he was a post-doctoral fellow with Tsinghua University, Beijing. He is currently a professor with the School of Computer Science and Technology, Shandong Technology and Business University. His research interests include image processing, computer graphics, computer vision, and machine learning.
Peiqiang Liu received his Ph.D. degree in computer software and theory from Shandong University in 2013. He is currently a professor at Shandong Technology and Business University. His research interests include algorithms and complexity theory, and computational biology.
Hui Fan received his B.S. degree in computer science from Shandong University in 1984 and his Ph.D. degree in computer science from Taiyuan University of Technology in 2007. From 1984 to 2001, he was a professor at the Computer Department of Taiyuan University of Technology. He is currently a professor at Shandong Technology and Business University. His research interests include computer aided geometric design, computer graphics, information visualization, virtual reality, and image processing.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.
The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Other papers from this open access journal are available free of charge from http://www.springer.com/journal/41095.
To submit a manuscript, please go to https://www.editorialmanager.com/cvmj.
About this article
Cite this article
Zhang, F., Li, J., Liu, P. et al. Computing knots by quadratic and cubic polynomial curves. Comp. Visual Media 6, 417–430 (2020). https://doi.org/10.1007/s41095-020-0186-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s41095-020-0186-4