Draft:Progressive-iterative approximation

  • Comment: Please remove the numbers before the (sub)headings. Like "1. Iteration Methods" is supposed to be "Iteration Methods" as Wikipedia is not a textbook. Do that throughout the article and add some more sources as there are quite a handful of statements without sources. Vanderwaalforces (talk) 16:31, 3 November 2023 (UTC)

Progressive-iterative approximation method is an iterative method of data fitting with geometric meanings[1]. Given the data points to be fitted, the method obtains a series of fitting curves (surfaces) by iteratively updating the control points, and the limit curve (surface) can interpolate or approximate the given data points. It avoids solving a linear system of equations directly and allows flexibility in adding constraints during the iterative process. Therefore, it has been widely used in geometric design and related fields.

The study of the iterative method with geometric meaning can be traced back to the work of scholars such as Prof. Dongxu Qi and Prof. Carl de Boor in the 1970s. In 1975, Qi et al. developed and proved the "profit and loss" algorithm for uniform cubic B-spline curves[2],and in 1979, de Boor independently proposed this algorithm[3]. In 2004, Hongwei Lin and coauthors proved that non-uniform cubic B-spline curves and surfaces have the "profit and loss" property[4]. Later, in 2005, Lin et al. proved that the curves and surfaces with normalized and totally positive basis all have this property and named it progressive iterative approximation (PIA)[1]. In 2007, Maekawa et al. changed the algebraic distance in PIA to geometric distance and named it geometric interpolation (GI)[5]. In 2008, Cheng et al. extended it to subdivision surfaces and named the method progressive interpolation (PI)[6]. Since the iteration steps of the PIA, GI, and PI algorithms are similar and all have geometric meanings, we collectively referred to them as geometric iterative methods (GIM)[7].

PIA is now extended to several common curves and surfaces in the geometric design field, including NURBS curves and surfaces[8], T-spline surfaces[9], implicit curves and surfaces[10], etc.

1. Iteration Methods edit

Generally, progressive-iterative approximation can be divided into interpolation and approximation schemes. In interpolation algorithms, the number of control points is equal to that of the data points; in approximation algorithms, the number of control points can be less than that of the data points. Specifically, there are some representative iteration methods, such as local-PIA, implicit-PIA, fairing-PIA, and isogeometric least-squares progressive-iterative approximation (IG-LSPIA), which is specialized for solving the isogeometric analysis problem.

1.1 Interpolation scheme: PIA[1][4][8][11] edit

To facilitate the description of the PIA iteration format for different forms of curves and surfaces, we write B-spline curves and surfaces, NURBS curves and surfaces, B-spline solids, T-spline surfaces, and triangular Bernstein–Bézier (B–B) surfaces uniformly in the following form:

 

For example:

  • If   is a B-spline curve,then   is a scalar,   is a B-spline basis function,and   denotes the control point;
  • If   is a B-spline patch with   control points,then   ,where   and   are B-spline basis functions;
  • If   is a trivariate B-spline solid with   control points, then   ,where    and   are B-spline basis functions.

Given an ordered data set  ,with parameters   satisfying  , the initial fitting curve (surface) is

 ,

where the initial control points of the initial fitting curve (surface)   can be randomly selected. Suppose that after the  th iteration, the  th fitting curve (surface)  is generated by

 

To construct the  st curve (surface),we first calculate the difference vectors

 

and then update the control points by

 

leading to the  st fitting curve (surface):

 

In this way, we obtain a sequence of curves (surfaces)

 

It has been proved that this sequence of curves (surfaces) converges to a limit curve (surface) that interpolates the give data points, i.e.,

 

1.2 Approximation scheme: LSPIA[12][9] edit

For the B-spline curve and surface fitting problem, Deng and Lin proposed a least-squares progressive–iterative approximation(LSPIA).[12], which allows the number of control points to be less than that of the data points and is more suitable for large-scale data fitting problems[9]

Assume that the number of data points is  ,and the number of control points is  . Following the notations in the Section above, the  th fitting curve (surface) generated after the  th iteration is  , i.e.,

 

To generate the  st fitting curve (surface),we compute the following difference vectors in turn:

Difference vectors for data points

 

and,

Difference vectors for control points

 

where   is the index set of the data points in the  th group,whose parameters fall in the local support of the  th basis function, i.e.,  .   are weights that guarantee the convergence of the algorithm, usually taken as  .

Finally, the control points of the  st curve (surface) are updated by   leading to the  st fitting curve (surface)  . In this way,we obtain a sequence of curve (surface),and the limit curve (surface) converges to the least-squares fitting result to the given data points.

1.3 Local-PIA[13] edit

In the local-PIA, the control points are divided into active and fixed control points, whose subscripts are denoted as   and  , respectively. Assume that, the  th fitting curve (surface) is  ,where the fixed control point satisfy

 

Then,on the one hand, the iterative formula of the difference vector   corresponding to the fixed control points is

 

On the other hand, the iterative formula of the difference vector   corresponding to the active control points is

 

Arranging the above difference vectors into a one-dimensional sequence,

 

the local iteration format in matrix form is,

 

where,   is the iteration matrix,

 

  and   are the identity matrices and

 

The above local iteration format converges and can be extended to blending surfaces and subdivision surfaces.

1.4 Implicit-PIA[10] edit

The progressive iterative approximation format for implicit curve and surface reconstruction is presented in the following. Given an ordered point cloud   and a unit normal vector   on the data points, we want to reconstruct an implicit curve (surface) from the given point cloud. To avoid trivial solution, some offset points   are added to the point cloud. They are offset by a distance   along the unit normal vector of each point

 

Assume that   is the value of the implicit function at the offset point

 

Let the implicit curve after the  th iteration be

 

where   is the control point.

Define the difference vector of data points as

 

Next, calculate the difference vector of control coefficients

 

where   is the convergence coefficient. As a result, the new control coefficients are

 

leading to the new algebraic B-spline curve

 

The above procedure is carried out iteratively to generate a sequence of algebraic B-spline functions  . The sequence converges to a minimization problem with constraints when the initial control coefficients  .

Assume that the implicit surface generated after the  th iteration is

 

the iteration format is similar to that of the curve case.

1.5 Fairing-PIA[14] edit

To develop fairing-PIA, we first define the functionals as follows:

 

where   represents the  th derivative of the basis function  .

Let the curve after the  th iteration be

 

To construct the new curve  ,we first calculate the  st difference vectors for data points,

 

Then, the fitting difference vectors and the fairing vectors for control points are calculated by

   

Finally, the control points of the  st curve are produced by

 

where   is a normalization weight, and   is a smoothing weight corresponding to the  th control point. The smoothing weights can be employed to adjust the smoothness individually, thus bringing great flexibility for smoothness. The larger the smoothing weight is, the smoother the generated curve is. The new curve is obtained as follows

 

In this way, we obtain a sequence of curves  . The sequence converges to the solution of the conventional fairing method based on energy minimization when all smoothing weights are equal (  ). Similarly, the fairing-PIA can be extended to the surface case.

1.6 IG-LSPIA[15] edit

Given a boundary value problem

 

where   is the unknown solution,  and   are the differential operator and boundary operator, respectively.   and   are the continuous functions. In the isogeometric analysis method, NURBS basis functions are used as form functions to solve the numerical solution of this boundary value problem. The same basis functions are applied to represent the numerical solution   and the geometric mapping  :

 

where   denotes the NURBS basis function,  is the control coefficient. After substituting the collocation points   into the strong form of PDE,we obtain a discretized problem

 

where   and   denote the subscripts of internal and boundary collocation points, respectively.

Arranging the control coefficients   of the numerical solution   into an  -dimensional column vector, i.e.,  , the discretized problem can be reformulated in matrix form

 

where   is the collocation matrix,and   is the load vector.

Assume that the discretized load values are data points   to be fitted. Given the initial guess of the control coefficients  ),we obtain an initial blending function

 

where   ,represents the combination of different order derivatives of the NURBS basis functions determined using the operators   and  

 

where   and   indicate the interior and boundary of the parameter domain, respectively. Each   corresponds to the  th control coefficient. Assume that   and   are the index sets of the internal and boundary control coefficients, respectively. Without loss of generality, we further assume that the boundary control coefficients have been obtained using strong or weak imposition and are fixed, i.e.,

 

The  th blending function, generated after the  th iteration of IG-LSPIA, is assumed to be as follows:

 

Then, the difference vectors for collocation points (DCP) in the  st iteration are obtained using

 

Moreover, group all load values whose parameters fall in the local support of the  th derivatives function, i.e.,  , into the  th group corresponding to the  th control coefficient, and denote the index set of the  th group of load values as  . Lastly, the differences for control coefficients (DCC) can be constructed as follows:

 

where   is a normalization weight to guarantee the convergence of the algorithm.

Thus, the new control coefficients are updated via the following formula,

 

Consequently, the  st blending function is generated as follows:

 

The above iteration process is performed until the desired fitting precision is reached and a sequence of blending functions is obtained

 

The IG-LSPIA converges to the solution of a constrained least-squares collocation problem.

2. Proof of convergence edit

Non-singular case

  • If  , the PIA iterative format in matrix form is[1]

 

where,

 

The convergence of the PIA is related to the properties of the collocation matrix. If the spectral radius of iteration matrix   is less than  ,then the PIA is convergent. It has been shown that the PIA methods for Bézier curves and surface, B-spline curves and surfaces, NURBS curves and surfaces, Triangular Bernstein-Bézier surface, and subdivision surfaces (Loop, Catmull-Clark, Doo-Sabin) are convergent.

  • If  ,the LSPIA in matrix form is[9][12]

 

When the matrix   is nonsingular,the following results can be obtained.

Lemma If   ,where   is the largest eigenvalue of the matrix  ,then the eigenvalues of   are real numbers and satisfy  .

Proof Since   is nonsingular,and  ,then  . Moreover,

 

In summary, .

Theorem If   ,LSPIA is convergent, and converges to the least-squares fitting result to the given data points.

Proof From the matrix form of iterative format, we obtain the following :

 

According to above Lemma, the spectral radius of the matrix   satisfies

 

Thus,the spectral radius of the iteration matrix satisfies

 

When  

 

As a result,

 

i.e.,  ,which is equivalent to the normal equation of the fitting problem. Hence, the LSPIA algorithm converges to the least squares result for a given sequence of points.

Singular case edit

Lin et al. showed that LSPIA converges even when the iteration matrix is singular..[16]

3. Acceleration algorithms and others edit

  • Precondition[17]:Liu et al. proposed a preconditioned PIA for Bézier surfaces via the diagonally compensated reduction method, effectively improving the accuracy and efficiency of the classical algorithm.
  • Iteration matrix inverse approximation[18]: Sajavičius improves the LSPIA based on the matrix approximate inverse method. In each iteration step, the approximate inverse of the coefficient matrix of the least-squares fitting problem is first computed and then used as the weight to adjust the control points.
  • Optimal weight: Lu initially presented a weighted progressive-iterative approximation (WPIA) that introduces the optimal weight of difference vectors for control points to accelerate the convergence[19]. Moreover, Zhang et al. proposed a weighted local PIA format for tensor Bézier surfaces[20]. Li et al. assigned initial weights to each data point, and the weights of the interpolated points are determined adaptively during the iterative process[21]
  • Acceleration with memory[22]: In 2020, Huang et al. proposed a progressive-iterative approximation method with memory for least square fitting (MLSPIA), which has a similar format to the momentum method. MLSPIA generates a series of fitting curves (surfaces) with three weights by iteratively adjusting the control points. With appropriate parameter selection, these curves (surfaces) converge to the least squares fit results for a given data point and are more efficient than LSPIA.
  • Stochastic descent strategy[23]:Rios and Jüttle explored the relationship between LSPIA and gradient descent method and proposed a stochastic LSPIA algorithm with parameter correction.

4. Applications edit

Since PIA has obvious geometric meaning, constraints can be easily integrated in the iterations. Currently, PIA has been widely applied in many fields, such as data fitting, reverse engineering, geometric design, mesh generation, data compression, fairing curve and surface generation, and isogeometric analysis.

Data fitting

  • Adaptive data fitting[24]:The control points are divided into active control points and fixed control points. In each round of iteration, if the fitting error of a data point reaches a given precision, its corresponding control point is fixed and not updated. The above iterative process is repeated until all control points are fixed . The algorithm performs well on large-scale data fitting by adaptively reducing the number of active control points.
  • Large-scale data fitting[9]:By combining T-spline with PIA, an incremental fitting algorithm suitable for fitting large-scale data sets is proposed. During the incremental iteration, each new round of iterations reuses information from the last round of iterations to save computation. While the convergence speed of the traditional point-by-point iterative algorithm decreases as the number of control points increases, in PIA the computation of each iteration step is unrelated to the number of control points, thus exhibiting a powerful data fitting capability.
  • Local fitting[13][25]:Based on the local property of PIA,a series of local PIA formats have been proposed.

Implicit reconstruction[10]

For implicit curve and surface reconstruction, the PIA avoids the additional zero level set and regularization term, which greatly improves the speed of the reconstruction algorithm.

Offset curve approximation[26]

Firstly, the data points are sampled on the original curve. Then, the initial polynomial approximation curve or rational approximation curve of the offset curve is generated from these sampled points. Finally, the offset curve is approximated iteratively using the PIA method.

Mesh generation[27]

Input a triangular mesh model, the algorithm first constructs the initial hexahedral mesh, and extracts the quadrilateral mesh of the surface as the initial boundary mesh. During the iterations, the movement of each mesh vertex is constrained to ensure the validity of the mesh. Finally, the hexahedral model is fitted to the given input model. The algorithm can guarantee the validity of the generated hexahedral mesh, i.e., the Jacobi value at each mesh vertex is greater than zero.

Data compression[28]

First, the image data are converted into a one-dimensional sequence by Hilbert scan; then, these data points are fitted by LSPIA to generate a Hilbert curve; finally, the Hilbert curve is sampled, and the compressed image can be reconstructed. This method can well preserve the neighborhood information of pixels.

Fairing curve and surface generation[14]

Given a data point set, we first define the fairing functional, and calculate the fitting difference vector and the fairing vector of the control point; then, adjust the control points with fairing weights. According to the above steps, the fairing curve and surface can be generated iteratively. Due to the sufficient fairing parameters, the method can achieve global or local fairing. It is also flexible to adjust knot vectors, fairing weights, or data parameterization after each round of iteration. The traditional energy-minimization method is a special case of this method, i.e., when the smooth weights are all the same.

Isogeometric analysis[15]

The discretized load values are regarded as the set of data points, and the combination of the basis functions and their derivative functions is used as the blending function for fitting. The method automatically adjusts the degrees of freedom of the numerical solution of the partial differential equation according to the fitting result of the blending function to the load values. In addition, the average iteration time per step is only related to the number of data points (i.e., collocation points) and unrelated to the number of control coefficients.

References edit

  •   This article incorporates text by Jian, Yini; Lin, Hongwei available under the CC BY 4.0 license.
  1. ^ a b c d Lin, Hong-Wei; Bao, Hu-Jun; Wang, Guo-Jin (2005). "Totally positive bases and progressive iteration approximation". Computers & Mathematics with Applications. 50 (3–4): 575–586. doi:10.1016/j.camwa.2005.01.023. ISSN 0898-1221.
  2. ^ Qi, Dongxu; Tian, Zixian; Zhang, Auxin; Feng, Jiabin (1975). "The method of numeric polish in curve fitting". Acta Math Sinica. 18 (3): 173–184.
  3. ^ Carl, de Boor (1979). "How does Agee's smoothing method work?". Proceedings of the 1979 Army Numerical Analysis and Computers Conference, ARO Report.
  4. ^ a b Lin, Hongwei; Wang, Guojin; Dong, Chenshi (2004). "Constructing iterative non-uniform B-spline curve and surface to fit data points". Science in China Series F. 47 (3): 315. doi:10.1360/02yf0529. ISSN 1009-2757. S2CID 966980.
  5. ^ Maekawa, Takashi; Yasunori, Matsumoto; Ken, Namiki (2007). "Interpolation by geometric algorithm". Computer-Aided Design. 39 (4): 313–323. doi:10.1016/j.cad.2006.12.008.
  6. ^ Cheng, Fuhua; Fan, Fengtao; Lai, Shuhua; Huang, Conglin; Wang, Jiaxi; Yong, Junhai (2008). "Progressive Interpolation Using Loop Subdivision Surfaces". Advances in Geometric Modeling and Processing. Lecture Notes in Computer Science. Vol. 4975. pp. 526–533. doi:10.1007/978-3-540-79246-8_43. ISBN 978-3-540-79245-1.
  7. ^ Lin, Hongwei; Maekawa, Takashi; Deng, Chongyang (2018). "Survey on geometric iterative methods and their applications". Computer-Aided Design. 95: 40–51. doi:10.1016/j.cad.2017.10.002. ISSN 0010-4485.
  8. ^ a b Shi, Limin; Wang, Renhong (2006). "An iterative algorithm of NURBS interpolation and approximation". Journal of Mathematical Research with Applications. 26 (4): 735–743.
  9. ^ a b c d e Lin, Hongwei; Zhang, Zhiyu (2013). "An Efficient Method for Fitting Large Data Sets Using T-Splines". SIAM Journal on Scientific Computing. 35 (6): A3052–A3068. Bibcode:2013SJSC...35A3052L. doi:10.1137/120888569. ISSN 1064-8275.
  10. ^ a b c Hamza, Yusuf Fatihu; Lin, Hongwei; Li, Zhao (2020). "Implicit progressive-iterative approximation for curve and surface reconstruction". Computer Aided Geometric Design. 77: 101817. arXiv:1909.00551. doi:10.1016/j.cagd.2020.101817. S2CID 202540812.
  11. ^ Chen, Jie; Wang, Guo-Jin (2011). "Progressive iterative approximation for triangular Bézier surfaces". Computer-Aided Design. 43 (8): 889–895. doi:10.1016/j.cad.2011.03.012. ISSN 0010-4485.
  12. ^ a b c Deng, Chongyang; Lin, Hongwei (2014). "Progressive and iterative approximation for least squares B-spline curve and surface fitting". Computer-Aided Design. 47: 32–44. doi:10.1016/j.cad.2013.08.012. ISSN 0010-4485.
  13. ^ a b Lin, Hongwei (2010). "Local progressive-iterative approximation format for blending curves and patches". Computer Aided Geometric Design. 27 (4): 322–339. doi:10.1016/j.cagd.2010.01.003. ISSN 0167-8396.
  14. ^ a b Jiang, Yini; Lin, Hongwei; Huang, Weixian (2023-05-16). "Fairing-PIA: progressive-iterative approximation for fairing curve and surface generation". The Visual Computer. 40 (3): 1467–1484. arXiv:2211.11416. doi:10.1007/s00371-023-02861-7. ISSN 0178-2789.
  15. ^ a b Jiang, Yini; Lin, Hongwei (2023-02-10). "IG-LSPIA: Least Squares Progressive Iterative Approximation for Isogeometric Collocation Method". Mathematics. 11 (4): 898. doi:10.3390/math11040898. ISSN 2227-7390.
  16. ^ Lin, Hongwei; Cao, Qi; Zhang, Xiaoting (2018). "The Convergence of Least-Squares Progressive Iterative Approximation for Singular Least-Squares Fitting System". Journal of Systems Science and Complexity. 31 (6): 1618–1632. doi:10.1007/s11424-018-7443-y. ISSN 1009-6124. S2CID 255157830.
  17. ^ Liu, Chengzhi; Han, Xuli; Li, Juncheng (2020). "Preconditioned progressive iterative approximation for triangular Bézier patches and its application". Journal of Computational and Applied Mathematics. 366: 112389. doi:10.1016/j.cam.2019.112389. ISSN 0377-0427. S2CID 202942809.
  18. ^ Sajavičius, Svajūnas (2023). "Hyperpower least squares progressive iterative approximation". Journal of Computational and Applied Mathematics. 422: 114888. doi:10.1016/j.cam.2022.114888. ISSN 0377-0427. S2CID 252965212.
  19. ^ Lu, Lizheng (2010). "Weighted progressive iteration approximation and convergence analysis". Computer Aided Geometric Design. 27 (2): 129–137. doi:10.1016/j.cagd.2009.11.001. ISSN 0167-8396.
  20. ^ Zhang, Li (2014-05-01). "Weighted Local Progressive Iterative Approximation for Tensor-product B\'{e}zier Surfaces". Journal of Information and Computational Science. 11 (7): 2117–2124. doi:10.12733/jics20103359. ISSN 1548-7741.
  21. ^ Li, Shasha; Xu, Huixia; Deng, Chongyang (2019). "Data-weighted least square progressive and iterative approximation and related B-Spline curve fitting". Journal of Computer-Aided Design & Computer Graphics. 31 (9): 1574–1580.
  22. ^ Huang, Zheng-Da; Wang, Hui-Di (2020). "On a progressive and iterative approximation method with memory for least square fitting". Computer Aided Geometric Design. 82: 101931. arXiv:1908.06417. doi:10.1016/j.cagd.2020.101931. ISSN 0167-8396. S2CID 201070122.
  23. ^ Rios, Dany; Jüttler, Bert (2022). "LSPIA, (stochastic) gradient descent, and parameter correction". Journal of Computational and Applied Mathematics. 406: 113921. doi:10.1016/j.cam.2021.113921. ISSN 0377-0427. S2CID 244018717.
  24. ^ Lin, Hongwei (2012). "Adaptive data fitting by the progressive-iterative approximation". Computer Aided Geometric Design. 29 (7): 463–473. doi:10.1016/j.cagd.2012.03.005. ISSN 0167-8396.
  25. ^ Zhao, Yu; Lin, Hongwei; Bao, Hujun (2012). "Local progressive interpolation for subdivision surface fitting". Computer Research and Development. 49 (8): 1699–1707.
  26. ^ Zhang, Li; Wang, Huan; Li, Yuanyuan; Tan, Jieqing (2014). "A progressive iterative approximation method in offset approximation". Journal of Computer Aided Design and Computer Graphics. 26 (10): 1646–1653.
  27. ^ Lin, Hongwei; Jin, Sinan; Liao, Hongwei; Jian, Qun (2015). "Quality guaranteed all-hex mesh generation by a constrained volume iterative fitting algorithm". Computer-Aided Design. 67–68: 107–117. doi:10.1016/j.cad.2015.05.004. ISSN 0010-4485.
  28. ^ Hu, Lijuan; Yi, Yeqing; Liu, Chengzhi; Li, Juncheng (2020). "Iterative method for image compression by using LSPIA". IAENG International Journal of Computer Science. 47 (4): 1–7.