作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (16): 189-191. doi: 10.3969/j.issn.1000-3428.2010.16.068

• 图形图像处理 • 上一篇    下一篇

多边形中心点向量的二次插值变形算法

窦长旭,王玉玫   

  1. (华北计算技术研究所,北京 100083)
  • 出版日期:2010-08-20 发布日期:2010-08-17
  • 作者简介:窦长旭(1980-),男,硕士研究生,主研方向:图像处理;王玉玫,高级工程师

Quadratic Interpolation Deformation Algorithm of Polygon Central Point Vector

DOU Chang-xu, WANG Yu-mei   

  1. (North China Institute of Computing Technology, Beijing 100083)
  • Online:2010-08-20 Published:2010-08-17

摘要:

多不动点约束下的网格变形算法需要用户确定不动点和操作点,针对该问题,提出多边形中心点向量的二次插值变形算法。该算法根据源、目标多边形中心点向量间旋转经过的面积与2个向量间的差值建立相似度函数,在变形过程中采用二次贝塞尔插值方法,在对应过程中利用改进的动态规划算法。实验结果表明,该算法可减少变形过程中多边形内部扭曲的程度,且计算量小、对应时间短、变形效果自然。

关键词: 多边形中心点向量, 相似度函数, 动态规划算法, 二次贝塞尔插值变形

Abstract:

Aiming at the problem that grid deformation algorithm needs fix point and operating point defined by user under multi-fix point restraining, this paper presents a quadratic interpolation deformation algorithm of polygon central point vector. According to the moving area of rotation between source and destination polygon central point vector and the difference between the corresponding vectors to build a similarity function. It adopts quadratic Bezier interpolation method in the process of deformation and uses improved dynamic programming algorithm in the process of corresponding. Experimental results show that this algorithm can reduce skew angle of polygon in the process of deformation, and it has low computation complexity, short corresponding time, natural deformation effect.

Key words: polygon central point vector, similarity function, dynamic programming algorithm, quadratic Bezier interpolation deformation

中图分类号: