Abstract
This chapter provides an overview at fitting parametric polynomials with control points coefficients. These polynomials have several properties, including flexibility and stability. Bézier, B-spline, Nurb, and Bézier trigonometric polynomials are the most significant of these kinds. These fitting polynomials are offered in two dimensions (2D) and three dimensions (3D). This type of polynomial is useful for enhancing mathematical methods and models in a variety of domains, the most significant of which being interpolation and approximation. The utilization of parametric polynomials minimizes the number of steps in the solution, particularly in programming, as well as the fact that polynomials are dependent on control points. This implies having more choices when dealing with the generated curves and surfaces in order to produce the most accurate results in terms of errors. Furthermore, in practical applications such as the manufacture of automobile exterior constructions and the design of surfaces in various types of buildings, this kind of polynomial has absolute preference.
Keywords
- parametric polynomials
- parametric curves
- parametric surfaces
- control points
- parametric values
1. Introduction
Curve (or surface) fitting to a set of provided data points based on control points is a common and often performed activity in many areas of science and engineering, including machine vision, computer vision, reverse engineering, coordinate metrology, and computer-aided geometric design.
When fitting a collection of data points in two- and three-dimensional space, the shortest distance (which is also known as Euclidean distance, geometric distance, or orthogonal distance) between the curve (or surface) and the data points point has practical significance [1, 2, 3]. The fitting of a parametric curve or surface using this error measure is known as “orthogonal distance fitting” or “geometric fitting” [4, 5, 6, 7, 8, 9, 10, 11]. The geometric fitting issue is a nonlinear minimization problem that must be addressed iteratively, and it is widely acknowledged as an analytically and computationally challenging problem. There are two new methods for geometric fitting of functional curves and surfaces: [4, 6, 9, 11] for implicit curves and surfaces and [10, 12, 13] for parametric curves and surfaces. For a long time, the theoretical and computational problems in computing and decreasing geometric distances challenged the development of geometric fitting algorithms for functional curves/surfaces [6, 7]. Most data processing software programs use approximation measures of geometric distance to avoid the challenges associated with geometric fitting [8, 14, 15, 16, 17, 18]. Nonetheless, when highly accurate and reliable estimation of parameter estimation is required by applications, we have no choice but to use geometric distance as the error measure for functions based on control points fitting, despite the high computational cost and difficulties in developing geometric fitting algorithms. In fact, an international standard requires the use of the geometric error measure for testing data processing software for coordinate metrology [2].
Ameer et al. [19] developed a new Bézier polynomial with two form parameters based on new generalized Bernstein basis functions. Both Bernstein basis functions and Bézier polynomials have geometric features that are analogous to the classical Bernstein basis and Bézier curve, respectively. Using the described Bézier curves and surfaces as applications, several free-form curves may be represented.
Khan et al. [20] investigate weighted Lupaş post-quantum Bernstein blending functions and Bézier curves built using bases through
Özger [21] defined a new type of Bézier base using
Fitting parametric Bézier-like curves and surfaces in two- and three-dimensional space based on control points is the focus of this chapter.
2. Parametric polynomials
In computer graphics, we frequently need to draw many types of objects onto the screen. Objects are not always flat, and we must draw curves several times in order to depict an object. A curve is a collection of infinitely many points. Except for endpoints, each point has two neighbors. Curves are broadly classified into three types: explicit, implicit, and parametric. A curve can be created for the mathematical function
The most basic practice for writing a curve equation is implicit representation, which combines all variables into one lengthy, non-linear equation, like as follows:
To compute the values and plot them on a graph in this representation, we must solve the complete non-linear equation.
Some interactions between two numbers or variables are so complex that we occasionally incorporate a third quantity or variable to simplify matters. This third number is known as a parameter. Instead of a single equation relating, say,
The parametric representation rewrites the equation into shorter, more readily solvable equations that transform the values of one variable into the values of the others:
The equations for
3. Bézier curves
An explicit Bézier curves is one for which the x-coordinates of the control points are evenly spaced between 0 and 1. A Bézier curve takes on the important special form
or simply
An explicit Bézier curves is sometimes called a non-parametric Bézier curve and it developed by A French engineer named Pierre Bézier to define the computer graphics curve. This function generates a Bézier curve, the form of which is specified by control points. The inner control points (points not on the curve) determine the form of the curve, whereas the end control points specify the endpoints of the curve.
An
where
The basis functions, are the parametric Bernstein polynomial of degree
with
Eq. (7) is alternatively parametrically expressed as
with
and
Several construction-based Bezier control points are used in this work to find interpolation polynomials.
4. Fitting Bézier polynomials
Approximation and interpolation approaches can be used to fit the curve (or surface). However, classical interpolation and interpolation with control points are the most extensively utilized approaches [22]. Control points, with the exception of the end control points, are points that do not appear on the curves, but they regulate the form of the curves (or surfaces). In other words, control points function like magnets.
4.1 Fast Bézier interpolator
Yau and Wang [23] suggested a Fast Bézier interpolator approach for generating control points to produce a local Bézier interpolating polynomial. In this approach, the data points were categorized according to their distribution. The values of two inner control points might be obtained by meeting the stated requirements for each set of data points. The arc was formed by intersecting line segments between data points and applying the angle criteria. The inaccuracy from matching the data points with the arc was then used to determine the curve in each segment. Nevertheless, the mathematical procedure for determining the value of two inner control points for each subinterval is time-consuming due to the numerous computations required.
Figure 2 is a chart of cubic Bezier curve-fitted continuous short blocks (CSBs), often known as
This figure describes how a linear segment set may be divided into several CSB areas and linear segment regions by break points
The first step in using the CSB criteria is determining the break points, or the critical corner angle. This study uses a first-order approximation of a feedforward servo system as the system model to complete interpolation and motion control in one sample time. As a result, the tracking error e may be stated as [24].
as illustrated in Figure 3, where
The connections between the prescribed feedrate
The FBI’s interpolation technique is demonstrated using five CSBs.
4.2 Quintic triangular Bézier patch using dataset’s virtual mesh
Liu and Mann [25] introduced a piecewise interpolation polynomial by producing a quintic triangular Bézier patch for each data point using a Bézier control point based on the virtual mesh of the provided dataset. The resulting surface, however, only obtained
A triangular Bezier patch of degree n is given by
Several conditions must be met in order for the triangular patches to connect with
In domain triangles, the direction of the partial derivative along the
To ensure that the tangents are properly oriented, we assume
Eq. (18) must hold for each pair of neighboring patches in order for patches to meet around vertex
By creating
Form quartic boundary polynomials.
Go through the twist phrases.
Create tangent fields around the edges.
Raise the border curve degree to sextic.
In the sextic patch, add the second row of control points to interpolate the tangent fields.
After averaging the control points from the previous stages, determine the remaining central control point (Figure 6).
When the valences of the three vertices of a data triangle are identical, the patch formed by Loop’s method is quintic; if the three valences are all six, the patch degree decreases to quartic [26]. The boundary curves in Liu and Mann’s [25] method are constructed similarly to the first step of Loop’s scheme, but with the center control point set differently. The twist terms are solved in their scheme in the same way as Loop’s scheme is solved in the second stage. The first step will be reviewed briefly in this article; the specifics of the remaining parts of Loop’s system may be found in [26]. Loop produces the first two control points for each quartic boundary curve with control points of
Here,
Eq. (22) calculates the final two control points
4.3 Quadtree Bézier interpolation using uniformly distributed control points
Quadtree decomposition and Bézier interpolation have demonstrated a good ability to extract the image’s salient features in infrared and visual image fusion applications. Zhang et al. [29] have indeed developed an iterative quadtree decomposition and Bézier interpolation-based infrared and visual image fusion method. Each image patch is reconstructed using their approach by interpolating its four-by-four uniformly distributed control points, as seen below.
where
To be more specific
They used the Bézier interpolation approach to recreate each image patch twice in order to successfully extract the locally distributed bright and dark characteristics. That is, each image patch in the quadtree structure is built first by interpolating the local lowest gray values of the four-by-four uniformly distributed control points, and then a major portion of the bright features are eliminated from the reconstructed picture.
Second, each image patch in the quadtree structure is built further by interpolating the local maximum gray values of the four-by-four uniformly distributed control points; this allows the dark features to be eliminated from the reconstructed picture. As a result, the picture’s bright and dark characteristics may be successfully retrieved from the difference image of the original image and the smoothed image.
4.4 Tractable nonlinear interpolation framework using Bézier curves
Shimagaki and Barton [30] proposed a tractable nonlinear interpolation framework using Bézier curves. In addition to incorporating nonlinearity, this approach has the added advantage of conserving sums of categorical variables, which is not guaranteed under arbitrary nonlinear transformations of data. This property can be especially useful for conserved quantities such as probabilities. Historically, the Bézier method has been used in computer graphics to draw smooth curves.
Suppose a polynomial
where
When choosing cubic (P = 3) interpolation for simplicity, but their technique may be extended to polynomials of varying degrees
The other control points
5. Conclusions
In this chapter, unique and inventive methods for maximizing the benefits of various parametric polynomials are discussed. The four new recent polynomials are validated using various interpolation methods. As compared to existing methodologies and conventional procedures, the simulation properties clearly suggest that the examined polynomials may improve the quality of many applications. Additionally, the reviewed method may be used for a variety of image interpolation applications, including image zooming and rotation.
References
- 1.
Adcock RJ. Note on the method of least squares. The Analyst, Des Moines, Iowa. 1877; 4 :183-184 - 2.
ISO 10360-6. Geometrical Product Specifications (GPS)—Acceptance and Reverification Test for Coordinate Measuring Machines (CMM)—Part 6: Estimation of Errors in Computing Gaussian Associated Features. Geneva, Switzerland: ISO; 2001 - 3.
Pearson K. On lines and planes of closest fit to systems of points in space. The Philisophy Magazine. 1991; 2 (11):559-572 - 4.
Ahn SJ, Rauh W, Cho HS, Warnecke H-J. Orthogonal distance fitting of implicit curves and surfaces. IEEE Transactions on Pattern Analytical Machine Intellectual. 2002; 24 (5):620-638 - 5.
Ahn SJ, Westkämper E, Rauh W. Orthogonal distance fitting of parametric curves and surfaces. In: Levesley J et al., editors. Proc. 4th Int'l Symp. Algorithms for Approximation. UK: Univ. of Huddersfield; 2002. pp. 122-129 - 6.
Boggs PT, Byrd RH, Schnabel RB. A stable and efficient algorithm for nonlinear orthogonal distance regression. SIAM Journal of Science Statistical Computing. 1987; 8 :1052-1078 - 7.
Boggs PT, Donaldson JR, Byrd RH, Schnabel RB. Algorithm 676 – ODRPACK: Software for weighted orthogonal distance regression. ACM Transactions on Mathematical Software. 1989; 15 (4):348-364 - 8.
Cao X, Shrikhande N, Hu G. Approximate orthogonal distance regression method for fitting quadric surfaces to range data. Pattern Recognition Letters. 1994; 15 (8):781-796 - 9.
Helfrich H-P, Zwick D. A trust region method for implicit orthogonal distance regression. Numerical Algorithms. 1993; 5 :535-545 - 10.
Helfrich H-P, Zwick D. A trust region algorithm for parametric curve and surface fitting. Journal of Computational and Applied Mathematics. 1996; 73 :119-134 - 11.
Sullivan S, Sandford L, Ponce J. Using geometric distance fits for 3-D object Modeling and recognition. IEEE Transactions on Pattern Analytical Machine. Intellectual. 1994; 16 (12):1183-1196 - 12.
Butler BP, Forbes AB, Harris PM. Algorithms for Geometric Tolerance Assessment. NPL: Teddington, U.K; 1994 - 13.
Sourlier D. Three Dimensional Feature Independent Bestfit in Coordinate Metrology. Zurich, Switzerland: ETH Zurich; 1995 - 14.
Bookstein FL. Fitting conic sections to scattered data. Computer Graphical Image Processing. 1979; 9 (1):56-71 - 15.
Fitzgibbon A, Pilu M, Fisher RB. Direct Least Square fitting of ellipses. IEEE Transactions on Pattern Analytical Machine Intellectual. 1999; 21 (5):476-480 - 16.
Marshall D, Lukacs G, Martin R. Robust segmentation of primitives from range data in the presence of geometric degeneracy. IEEE Transactions on Pattern Analytical Machine Intellectual. 2001; 23 (3):304-314 - 17.
Solina F, Bajcsy R. Recovery of parametric models from range images: The case for Superquadrics with global deformations. IEEE Transactions on Pattern Analytical Machine Intellectual. 1990; 12 (2):131-147 - 18.
Taubin G. Estimation of planar curves, surfaces, nonplanar space curves defined by implicit equations with applications to edge and range image segmentation. IEEE Transactions on Pattern Analytical Machine Intellectual. 1991; 13 (11):1115-1138 - 19.
Ameer M, Abbas M, Abdeljawad T, Nazir T. A novel generalization of Bézier-like curves and surfaces with shape parameters. Mathematics. 2022; 10 (3):376 - 20.
Khan A, Iliyas M, Khan K, Mursaleen M. Approximation of conic sections by weighted Lupaş post-quantum Bézier curves. Demonstratio Mathematica. 2022; 55 (1):328-342 - 21.
Özger F. On new Bézier bases with Schurer polynomials and corresponding results in approximation theory. Communications Faculty of Sciences University of Ankara Series A1 Mathematics and Statistics. 2020; 69 (1):376-393 - 22.
Lepot M, Aubin JB, Clemens F. Interpolation in time series: An introductive overview of existing methods, their performance criteria and uncertainty assessment. Water. 2017; 9 (10):796 - 23.
Yau H-T, Wang J-B. Fast Bezier interpolator with real-time Lookahead function for high-accuracy machining. International Journal of Machine Tools and Manufacture. 2007; 47 (10):1518-1529 - 24.
Huang YS. The Research on Acceleration/Deceleration Algorithms for CNC Motion Control. Taiwan: Department of Mechanical Engineering, National Chung Cheng University; 1996 - 25.
Liu Y, Mann S. Parametric triangular Bézier surface interpolation with approximate continuity. In: Proceedings of the 2008 ACM Symposium on Solid and Physical Modeling. New York, NY: ACM Press; 2008. pp. 381-387 - 26.
Loop C. A G1 triangular spline surface of arbitrary topological type. Computer Aided Geometric Design. 1994; (3):303-33011 - 27.
Van Wijk J. Bicubic patches for approximating nonrectangular control-point meshes. Computer Aided Geometric Design. 1986; (1):1-133 - 28.
Davis P. Circulant Matrices. New York: Wiley; 1979 - 29.
Zhang Y, Zhang L, Shen J, Zhang S, Bai X. Infrared and visual image fusion via iterative quadtree decomposition and Bézier interpolation. In: Fourteenth International Conference on Digital Image Processing (ICDIP 2022). Vol. 12342. Wuhan, China: SPIE; 2022. pp. 730-738 - 30.
Shimagaki K, Barton JP. Bézier interpolation improves the inference of dynamical models from data. Physical Review E. 2023; 107 (2):024116