关键点选取的最小二乘渐进迭代逼近
Least squares progressive-iterative approximation based on key points
- 2020年25卷第1期 页码:148-157
收稿:2019-04-18,
修回:2019-7-29,
纸质出版:2020-01-16
DOI: 10.11834/jig.190148
移动端阅览

浏览全部资源
扫码关注微信
收稿:2019-04-18,
修回:2019-7-29,
纸质出版:2020-01-16
移动端阅览
目的
2
最小二乘渐进迭代逼近(LSPIA)方法多以均匀参数化或弦长参数化的形式均匀地确定初始控制点,虽然取得了良好效果,但在处理复杂曲线时,迭代速度相对较慢且误差精度不一定能达到预期设定值。为了进一步提高迭代效率和误差精度,本文提出了基于关键点(局部曲率最大点和极端曲率点)的最小二乘渐进迭代逼近方法。
方法
2
首先计算所有数据点的离散曲率,筛选出局部曲率最大点;接着设定初始的曲率下限,筛选出极端曲率点;然后将关键点与均匀选取的控制点按参数顺序化,并将其作为迭代的初始控制点;最后利用LSPIA方法对数据点进行拟合。
结果
2
对同一组数据点,分别采用LSPIA方法和基于关键点的LSPIA方法,本文方法较好地提高了收敛速度;在相同的控制点数目下,与LSPIA算法相比,本文方法的误差精度较小。
结论
2
本文方法适合于比较复杂的曲线,基于曲率分布的关键点的选取,可以更好地反映曲线的几何信息。数值实例表明,结合关键点筛选策略的LSPIA算法提高了计算效率,取得了更好的拟合效果。
Objective
2
The progressive-iterative approximation (PIA) method is a widely used data interpolation method in computer-aided design. The algorithm is simple and flexible
and it has an intuitive geometric meaning. The approximation curve can be obtained by continuously iterating and adjusting the control vertices of the curve. Compared with the classical PIA method
the recently given least-squares progressive iterative approximation (LSPIA) method not only inherits the relevant advantages of the original algorithm but also flexibly fits large-scale data points. The method mostly determines the initial control point in the form of uniform parameterization or chord length parameterization. Although good results are obtained
when processing complex curves
the iterative speed is relatively slow and the error precision does not necessarily reach the expected set value. To improve the fitting precision
we present the LSPIA method of gradually increasing the node
and obtain the smaller fitting error by continuously subdividing the nodes. Even if the new fitting procedure can start from the last fitting result
a large number of calculations are still needed. By reasonable selection of the initial control points
the quality of the convergence curve can be improved. To decrease the number of control points and accelerate the convergence
this study proposes a least-squares asymptotic iterative approximation method based on the key points. Specifically
the key points include two categories:local curvature maximum point and extreme curvature point. Considering the curvature information of the data point set to select the initial control vertex
and combining with the uniform selection control point
we retain the flexibility of selecting the number of control points.
Method
2
First
the data points are parameterized
the discrete curvatures of all the data points are calculated based on the discrete curvature calculation formula
and the maximum point of the local curvature is selected. Then
the mean average (avg) of the discrete curvatures of all the data points are found
a suitable initial lower limit of curvature c is set
and the point where the curvature value is greater than c by avg; that is
the extreme curvature point is found. However
in the practice process
the effect of fitting with key points is not good. Careful analysis indicates that for the place where the curve changes drastically
the key points are concentrated and the fitting effect is good. For the smooth part
because extremely few control points are used (certain places have no control points at all)
these parts have larger errors. Therefore
we combine two types of control points (uniform control points and key points). Then
because the drawing of the splines is sequential (that is
based on the order in which the control points are arranged)
the two sets of control points are often selected separately
resulting in the ordering within the two control point groups
but. However
the merged groups are disordered
and based on the sorting algorithm
the key points and uniformly selected control points are sequentially ordered based on the parameters. Finally
the two types of control points are used as the initial control points of the iteration
and the data points are fitted by the LSPIA method. If the error does not satisfy the previously set value
then the iteration is continued. When the iteration does not satisfy the given precision after reaching a certain number of repetitions
we can increase the initial control points by decreasing the interval of the uniform control points or reducing the lower limit of the key point curvature to improve the fitting accuracy. This method can further decrease the selection of control points
and also compensate for the defects of insufficient fitting of uniform points. For the LSPIA method of gradually increasing the nodes
we continuously refine the nodes based on the error distribution
and we add new nodes and control points by using the incremental algorithm. The results of the previous iteration continue to be iterated using the LSPIA method until the predetermined error accuracy is reached or the number of control points set in advance is reached.
Result
2
We apply our method to the fitting of complex image contours
including deer
bauhinia
cock
and lotus. The LSPIA and key point-based LSPIA methods are used to fit the same set of data points; the method in this study achieves better error precision and improves the convergence speed several times before iteration. Under the same number of control points and compared with the LSPIA algorithm
the proposed method and the step-by-step increase of the LSPIA of the node all improve the error precision to a certain extent
but the method of this study has a smaller calculation amount. Finally
we fit the method to the data point set of ancient paintings. For graphs with many details and high data volume
our method has achieved a good fitting effect.
Conclusion
2
In this study
the key point selection idea is introduced into the LSPIA method
and a least-squares asymptotic iterative approximation method based on key point selection is proposed
thereby improving the selection of initial control vertices and the iterative efficiency. This method is suitable for more complex curves; based on the selection of key points of curvature distribution
the geometric information of the curve can be reflected effectively. Numerical examples show that the LSPIA algorithm combined with the key point screening strategy improves the computational efficiency and achieves an improved fitting effect. This method can be adopted in the case in which the iterative efficiency requirement is relatively high in real life.
Boehm W and Prautzsch H. 1985. The insertion algorithm. Computer-Aided Design, 17(2):58-59[DOI:10.1016/0010-4485(85)90246-5]
Chen J, Wang G J and Jin C J. 2012. Two kinds of generalized progressive iterative approximations. Acta Automatica Sinica, 38(1):135-139
陈杰, 王国瑾, 金聪健. 2012.两类推广的渐近迭代逼近.自动化学报, 38(1):135-139[DOI:10.3724/SP.J.1004.2012.00135]
de Boor C. 1979. How does Agee's smoothing method work? Washington, DC: Army Research Office, 299-302
Delgado J and Peña J M. 2007. Progressive iterative approximation and bases with the fastest convergence rates. Computer Aided Geometric Design, 24(1):10-18[DOI:10.1016/j.cagd.2006.10.001]
Delgado J and Peña J M. 2008. A comparison of different progressive iteration approximation methods//Proceedings of the 7th International Conference on Mathematical Methods for Curves and Surfaces. Tønsberg, Norway: Springer, 136-152[ DOI:10.1007/978-3-642-11620-9_10 http://dx.doi.org/10.1007/978-3-642-11620-9_10 ]
Deng C Y and Lin H W. 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]
Hu L C, Shou H H and Fang S. 2017. A PIA optimization algorithm for non-uniform B-spline curves and surfaces. International Journal of Modelling and Simulation, 37(3):167-177[DOI:10.1080/02286203.2017.1309260]
Lin H W, Wang G J and Dong C S. 2004. Constructing iterative non-uniform B-spline curve and surface to fit data points. Science in China Series:Information Sciences, 47(3):315-331[DOI:10.1360/02yf0529]
Lin H W, Bao H J and Wang G J. 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]
Lin H W. 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]
Lin H W. 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]
Lin H W and Zhang Z Y. 2011. An extended iterative format for the progressive-iteration approximation. Computers&Graphics, 35(5):967-975[DOI:10.1016/j.cag.2011.07.003]
Lin H W. 2015. Survey on geometric iterative methods with applications. Journal of Computer-Aided Design&Computer Graphics, 27(4):582-589
蔺宏伟. 2015.几何迭代法及其应用综述.计算机辅助设计与图形学学报, 27(4):582-589
Lu L Z. 2010. Weighted progressive iteration approximation and convergence analysis. Computer Aided Geometric Design, 27(2):129-137[DOI:10.1016/j.cagd.2009.11.001]
Liu X Y and Deng C Y. 2015. Jacobi-PIA algorithm for non-uniform cubic B-spline curve interpolation. Journal of Computer-Aided Design&Computer Graphics, 27(3):485-491
刘晓艳, 邓重阳. 2015.非均匀三次B样条曲线插值的Jacobi-PIA算法.计算机辅助设计与图形学学报, 27(3):485-491
Qi D X, Tian Z X, Zhang Y X and Feng J B. 1975. The method of numeric polish in curve fitting. Acta Mathematica Sinica, 18(3):173-184
齐东旭, 田自贤, 张玉心, 冯家斌. 1975.曲线拟合的数值磨光方法.数学学报, 18(3):173-184
Shi L M and Wang R H. 2006. An iterative algorithm of NURBS interpolation and approximation. Journal of Mathematical Research and Exposition, 26(4):735-743
史利民, 王仁宏. 2006. NURBS曲线曲面拟合数据点的迭代算法.数学研究与评论, 26(4):735-743[DOI:10.3770/j.issn.2095-2651.2006.04.013]
Zhang L, Lu Z H, Zhao L, She X R and Tan J Q. 2018. Local interpolation type of geometric iterative method with multiple weights. Journal of Computer-Aided Design&Computer Graphics, 30(9):1699-1704
张莉, 陆中华, 赵林, 佘祥荣, 檀结庆. 2018.带多权值局部插值型的几何迭代法.计算机辅助设计与图形学学报, 30(9):1699-1704[DOI:10.3724/SP.J.1089.2018.16863]
Zhang L, Ge X Y and Tan J Q. 2016. Least square geometric iterative fitting method for generalized B-spline curves with two different kinds of weights. The Visual Computer, 32(9):1109-1120[DOI:10.1007/s00371-015-1170-3]
Zhang L, Tan J Q, Ge X Y and Zheng G. 2018. Generalized B-splines' geometric iterative fitting method with mutually different weights. Journal of Computational and Applied Mathematics, 329:331-343[DOI:10.1016/j.cam.2017.05.034]
Zhang Z Y. 2013. Geometric Iteration Based Approximation Algorithm and Its Applications. Hangzhou: Zhejiang University http://www.wanfangdata.com.cn/details/detail.do?_type=degree&id=Y2281700 .
张智宇. 2013.基于几何迭代的逼近算法及其应用.杭州: 浙江大学
相关作者
相关机构
京公网安备11010802024621