N次Bezier曲线的多边形快速逼近算法
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Fast Approximation Algorithm of N-Degree Bezier Curve via Polygon
  • 作者:代文猛 ; 年春波 ; 杨洋 ; 王小平
  • 英文作者:Dai Wenmeng;Nian Chunbo;Yang Yang;Wang Xiaoping;College of Mechanical and Electrical Engineering,Nanjing University of Aeronautics and Astronautics;
  • 关键词:Bezier曲线 ; 逼近算法 ; 分割算法 ; 效率
  • 英文关键词:Bezier curve;;approximation algorithm;;segmentation algorithm;;efficiency
  • 中文刊名:JXKX
  • 英文刊名:Mechanical Science and Technology for Aerospace Engineering
  • 机构:南京航空航天大学机电学院;
  • 出版日期:2018-05-25 13:05
  • 出版单位:机械科学与技术
  • 年:2018
  • 期:v.37;No.286
  • 基金:国家自然科学基金项目(51575266)资助
  • 语种:中文;
  • 页:JXKX201812017
  • 页数:6
  • CN:12
  • ISSN:61-1114/TH
  • 分类号:104-109
摘要
作为一种重要的形状表示的数学方法,Bezier曲线在各种CAD/CAM(计算机辅助设计和计算机辅助制造)软件中广泛应用。在复杂曲面的数控加工操作中,CAD/CAM系统最终以直线段代替曲线段进行加工。为了提高以微小直线段逼近Bezier曲线的效率和精度,提出了一种对于N次Bezier曲线较为实用的快速逼近算法。该方法通过对Bezier曲线反复进行定比分割,使其控制多边形逐步收敛于原Bezier曲线,直至逼近误差满足要求。通过MATLAB软件将该算法与已有分割算法进行对比,结果表明与已有分割算法相比,多边形快速逼近算法极大地降低了逼近误差,较好的提高分割效率。最后,通过给出工程实例验证了该算法在工程应用上的实用性。
        As an important mathematical method of shape representation,Bezier curve is widely used in CAD/CAM software. In the numerical control machining operation of complex surface,the CAD/CAM(computer-aided design,computer-aided manufacturing) system eventually uses the straight line segments instead of the curve to process a workpiece. In order to improve the efficiency and accuracy of approximation Bezier curve with tiny straight line segments,a fast approximation algorithm for N-degree Bezier curve is proposed. In this method,the Bezier curve is subdivided with an invariable proportion repeatedly to make the control polygon converge gradually to the original Bezier curve until the approximation error meets the requirement. Comparing with the existing segmentation algorithm by using MATLAB software,the results show that the fast approximation algorithm via polygon reduces greatly the approximation error and improves the segmentation efficiency. Finally,the practicality of this algorithm in engineering is verified by giving an example.
引文
[1] Li Y W,Zhang C Z. A study of Bezier curve used in CNC based on DSP and FPGA[J]. Journal of Computer,2016,27(2):1-11
    [2]孙海洋,范大鹏,李玲.一种参数曲线实时数控插补计算新方法[J].国防科技大学学报,2008,30(3):122-127Sun H Y,Fan D P,Li L. A novel method for real-time CNC curved path interpolation calculating[J]. Journal of National University of Defense Technology,2008,30(3):122-127(in Chinese)
    [3]叶丽,谢明红.三次Bezier曲线的插补算法及误差分析[J].重庆工学院学报(自然科学版),2008,22(7):34-39Ye L, Xie M H. Cubic Bezier curve interpolation algorithm and its error analysis[J]. Journal of Chongqing Institute of Technology(Natural Science),2008,22(7):34-39(in Chinese)
    [4]宋健,桑运晓,刘同壮.一种基于de Casteljau算法的Bezier曲线插补方法[J].山东工业技术,2017,(12):242Song J,Sang Y X,Liu T Z. A Bezier curve interpolation method based on de Casteljau algorithm[J]. Shandong Industrial Technology,2017,(12):242(in Chinese)
    [5]任敏.绘制Bezier曲线的算法研究[J].现代机械,2007,(1):65-76Ren M. The Bezier curve expression algorithm research[J].Modern Machinery,2007,(1):65-76(in Chinese)
    [6]冯高洁,张平.基于De_Boor递推算法的速度自适应NURBS曲线分段插补算法研究[J].机床与液压,2011,39(21):35-38Feng G J, Zhang P. Study on segmented velocity adaptive NURBS interpolation algorithm based on De_Boor recursion algorithm[J]. Machine Tool&Hydraulics,2011,39(21):35-38(in Chinese)
    [7]郭峰,李伟,张来宾,等.Bezier曲线参数化高精度插补的研究与实现[J].机械制造,2012,50(6):31-33Guo F, Li W, Zhang L B, et al. Research and implementation of Bezier curve parameterized high precision interpolation[J]. Machinery,2012,50(6):31-33(in Chinese)
    [8]马瑞海,邱泽阳.Bézier曲线的升阶方法[J].黑龙江科技学院学报,2010,20(6):481-482,487Ma R H,Qiu Z Y. Method for degree elevation of Bézier curve[J]. Journal of Heilongjiang Institute of Science&Technology,2010,20(6):481-482,487(in Chinese)
    [9] Goldman R. An integrated introduction to computer graphics and geometric modeling[M]. Boca Raton:CRC Press,2009
    [10] Morin G,Goldman R. On the smooth convergence of subdivision and degree elevation for Bézier curves[J].Computer Aided Geometric Design, 2001,18(7):657-666
    [11]徐雨明,文双春. Bezier曲线递归分割算法的研究[J].衡阳师范学院学报,2007,28(6):113-115Xu Y M,Wen S C. Study on Bezier curve recursive algorithm[J]. Journal of Hengyang Normal University,2007,28(6):113-115(in Chinese)
    [12]冯文月,吴梦,邓建松.Bézier曲线细分收敛定理的推广[J].计算机辅助设计与图形学报,2011,23(12):2000-2005Feng W Y, Wu M, Deng J S. Generalization of subdivision convergence of Bézier curves[J]. Journal of Computer-Aided Design&Computer Graphics,2011,23(12):2000-2005(in Chinese)
    [13]韩丽娜,张红祥,张群会. Bezier曲线修改的一种分割算法[J].计算机工程与科学,2006,28(7):77-79Han L N,Zhang H X,Zhang Q H. A segmentation method for modifying the Bezier curve[J]. Computer Engineering&Science, 2006,28(7):77-79(in Chinese)
    [14] Elhoseny M,Tharwat A,Hassanien A E. Bezier curve based path planning in a dynamic field using modified genetic algorithm[J]. Journal of Computational Science,2018,25:339-350
    [15] Li B L,Liu L J,Zhang Q H,et al. Path planning based on firefly algorithm and Bezier curve[C]//Proceedings of 2014 IEEE International Conference on Information and Automation. Hailar,China:IEEE,2014:630-633

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700