渐进迭代逼近方法在曲线变形上的应用
Application of the progressive iterative approximation method to curve deformations
- 2018年23卷第11期 页码:1697-1706
收稿:2018-04-03,
修回:2018-6-28,
纸质出版:2018-11-16
DOI: 10.11834/jig.180230
移动端阅览

浏览全部资源
扫码关注微信
收稿:2018-04-03,
修回:2018-6-28,
纸质出版:2018-11-16
移动端阅览
目的
2
随着几何造型、计算机动画等领域的快速发展,曲线的自由变形技术在近年来受到了广泛的关注。为了获得更多有趣、逼真的变形效果,提出基于渐进迭代逼近与主顶点方法的曲线局部变形算法。
方法
2
给定数据点集,首先采用渐进迭代逼近方法或是基于最小二乘的渐进迭代逼近方法产生待变形曲线;其次对待变形区域使用延拓准则,基于主顶点方法与待变形曲线的形状信息选取控制顶点进行调整;最后对调整后的控制顶点运用局部渐进迭代逼近方法生成逼近曲线,得到期望的变形效果。
结果
2
此变形操作借助于局部渐进迭代逼近方法,具有较好的灵活性。通过茶壶、面部轮廓、手等数值实例,表明了该方法可以得到良好的变形效果。进一步地,借助于叠加变形还可以得到整体的、周期的、伸缩的等各类更加丰富的变形效果。
结论
2
本文研究渐进迭代逼近在曲线变形上的应用,将主顶点方法引入曲线的变形之中,把两者相结合提出了基于渐进迭代逼近与主顶点方法的曲线局部变形算法。该算法不仅具备渐进迭代逼近方法的收敛稳定性,且借助于主顶点方法,可以得到较好的变形效果。该方法适用于曲线的局部变形,丰富了曲线的变形效果。
Objective
2
Freeform deformation techniques of curves and surfaces have received considerable attention recently with the rapid development of geometric modeling and computer animation. A new local deformation algorithm for curves based on progressive iterative approximation (PIA) and dominant point methods is proposed in this study to acquire interesting and lifelike deformation effects. The new deformation method not only produces various deformation effects but also possesses desirable properties
such as flexibility and convergence
given the PIA method.
Method
2
First
the initial deformation curves are obtained using the PIA or least squares PIA method. Second
the dominant points
which include the maximum local curvature points
and two end points are selected from the initial control points by calculating and comparing the curvatures that correspond to the control points. In this phase
we detect the maximum local curvature points using the rule that the curvature of a point must be larger than the curvatures of its neighboring points. Thus
the maximum local curvature points can be selected as the dominant points. Then
an extension rule is constructed on the region expected to be deformed. That is
we extend this region along the curve until it satisfies the two closest dominant points after selecting the region for deformation in accordance with real requirements. Thus
we can obtain a segment that is bounded by two dominant points. We classify the situation into two categories using the abovementioned extension rule on the basis of the number of dominant points in the obtained segment. The control points
which will be adjusted subsequently
are selected in accordance with the dominant points and the shape information of the curves. If the region that is prepared for deformation contains a dominant point
then three dominant points in the segment will be obtained after applying such extension rule. The dominant point in the middle is selected for subsequent adjustment. If the region that is prepared for deformation does not contain any dominant point
then only two dominant points in the segment will be obtained after extension. We select a control point in accordance with the shape information of the curve
which is useful in handling several complex deformation problems. In this situation
we first calculate the shape parameter for each control point in the obtained segment. The shape parameter represents the complexity of the curve and indicates the difference between two adjacent segments. Second
the control point that has the smallest shape parameter is selected for subsequent adjustment after comparing these parameters. We call this procedure the dominant point method. Moreover
if more than one dominant point in the region is expected to be deformed
then we can split the segment in accordance with the distribution of dominant points to ensure that each segment contains less than one dominant point. Then
we can use the abovementioned dominant point method to select the control points. Finally
local progressive iterative approximation (LPIA) method is adopted to generate the final curves after local deformation.
Result
2
The proposed deformation method selects the control points on the basis of the complexity of the shapes of the curves. The deformation method is convergent
can be executed flexibly
and can highlight the features of the deformed regions through local iteration because we use the LPIA method to fit the data set after adjustment. Numerical examples
such as teapot
face contour
and hand
show that the proposed method can obtain favorable deformation effects through the B-spline basis
which is the most commonly used basis in geometric design and exhibits excellent local properties. Specifically
the teapot mouth is stretched by adjusting the selected control point. The lips
eyebrows
and earlobes of the face contour are deformed by using the deformation algorithm to generate a fascinating face. The fingers are also stretched to make the hand natural. We also demonstrate the distortion
which occurs when we do not use the deformation method proposed in this study
as illustrated in the teapot example. We can clearly observe that
if we do not adjust the control points generated by the algorithm
then the curve after deformation will be distorted and lack reality. Furthermore
this algorithm can be used repeatedly to generate the global
local
periodic
and elastic deformation effects.
Conclusion
2
This study mainly focuses on applying the PIA method to the local curve deformations. First
we discuss the PIA method
which presents an intuitive and straightforward approach to fitting data points and provides flexibility for shape control in data fitting. Second
we introduce the notion of dominant points into the curve deformations. Finally
we propose a new deformation method on the basis of the PIA and dominant point methods by combining the two techniques. The algorithm not only possesses the properties of convergence and stability through the PIA method but also produces various positive deformation effects by selecting dominant points. A user must only select the regions expected to be deformed during the implementation of the deformation method and determine the deformation scales in accordance with his/her requirements
thus guaranteeing the interactivity of this algorithm. In summary
the proposed method significantly enriches the deformation effects of curves.
Barr A H. Global and local deformations of solid primitives[J]. ACM SIGGRAPH Computer Graphics, 1984, 18(3):21-30.[DOI:10.1145/964965.808573]
Güdükbay U, Özgüç B. Free-form solid modeling using deformations[J]. Computers&Graphics, 1990, 14(3-4):491-500.[DOI:10.1016/0097-8493(90)90071-5]
Sederberg T W, Parry S R. Free-form deformation of solid geometric models[J]. ACM SIGGRAPH Computer Graphics, 1986, 20(4):151-160.[DOI:10.1145/15886.15903]
Cheng X G, Liu W J. Shape modification of B-spline curve via external loads[J]. Journal of Image and Graphics, 2011, 16(5):898-902.
程仙国, 刘伟军.外载荷的B样条曲线变形[J].中国图象图形学报, 2011, 16(5):898-902. [DOI:10.11834/jig.20110528]
Lazarus F, Coquillart S, Jancène P. Axial deformations:an intuitive deformation technique[J]. Computer-Aided Design, 1994, 26(8):607-613.[DOI:10.1016/0010-4485(94)90103-1]
Xu G, Hui K C, Ge W B, et al. Direct manipulation of free-form deformation using curve-pairs[J]. Computer-Aided Design, 2013, 45(3):605-614.[DOI:10.1016/j.cad.2012.09.004]
Feng J Q, Ma L Z, Peng Q S. Free-form deformation through embedding objects into the parametric domain of surface[J]. Journal of Computer Aided Design&Computer Graphics, 1998, 10(3):208-215.
冯结青, 马利庄, 彭群生.嵌入参数空间的曲面控制自由变形方法[J].计算机辅助设计与图形学学报, 1998, 10(3):208-215.]
Feng J Q, Ma L Z, Peng Q S. A new free-form deformation through the control of parametric surfaces[J]. Computers&Graphics, 1996, 20(4):531-539.[DOI:10.1016/0097-8493(96)00025-8]
Sanchez-Reyes J. A simple technique for NURBS shape modification[J]. IEEE Computer Graphics and Applications, 1997, 17(1):52-59.[DOI:10.1109/38.576858]
Dong H W. Survey of mesh deformation[J]. Journal of Image and Graphics, 2011, 16(12):2095-2104.
董洪伟.网格变形综述[J].中国图象图形学报, 2011, 16(12):2095-2104. [DOI:10.11834/jig.20111201]
Xu G, Wang G Z, Chen X D. Free form deformation and its application[J]. Journal of Computer Research and Development, 2010, 47(2):344-352.
徐岗, 汪国昭, 陈小雕.自由变形技术及其应用[J].计算机研究与发展, 2010, 47(2):344-352.]
Wang X P, Ye Z L, Meng Y Q, et al. Free-form deformation based on extension factor for parametric curve[J]. Journal of Computer-Aided Design&Computer Graphics, 2002, 14(1):66-69.
王小平, 叶正麟, 孟雅琴, 等.基于伸缩因子的参数曲线自由变形[J].计算机辅助设计与图形学学报, 2002, 14(1):66-69.
Wang X P, Ye Z L, Meng Y Q, et al. Space deformation of parametric surface based on extension function[J]. International Journal of CAD/CAM, 2002, 1(1):23-32.
Song L Z, Peng G, Yang W Y, et al. A new extension factor for free-form de-formation of parametric curves[J]. Journal of Engineering Graphics, 2009, 30(3):87-93.
宋来忠, 彭刚, 杨文颖, 等.用于参数曲线自由变形的新的伸缩因子[J].图学学报, 2009, 30(3):87-93. [DOI:10.3969/j.issn.1003-0158.2009.03.015]
Zhang L, Yu H F, Tan J Q. Deformation of parametric curves based on platform extension function[J]. Journal of Image and Graphics, 2015, 20(10):1374-1383.
张莉, 余慧芳, 檀结庆.带平台伸缩函数的参数曲线变形[J].中国图象图形学报, 2015, 20(10):1374-1383. [DOI:10.11834/jig.20151011]
Lin H W, Bao H J, Wang G J. Totally positive bases and progressive iteration approximation[J]. Computers&Mathematics with Applications, 2005, 50(3-4):575-586.[DOI:10.1016/j.camwa.2005.01.023]
Hoschek J, Lasser D. Fundamentals of computer aided geometric design[M]. Natick, MA, USA: A. K. Peters, Ltd., 1993.
Park H, Lee J H. B -spline curve fitting based on adaptive curve refinement using dominant points[J]. Computer-Aided Design, 2007, 39(6):439-451.[DOI:10.1016/j.cad.2006.12.006]
Lin H W. Local progressive-iterative approximation format for blending curves and patches[J]. Computer Aided Geometric Design, 2010, 27(4):322-339.[DOI:10.1016/j.cagd.2010.01.003]
相关作者
相关机构
京公网安备11010802024621