首页 | 本学科首页   官方微博 | 高级检索  
     

有效的混合圆弧扫描转换算法
引用本文:张胜男,牛连强,陈欣.有效的混合圆弧扫描转换算法[J].工程图学学报,2012,33(6):50-58.
作者姓名:张胜男  牛连强  陈欣
作者单位:1. 沈阳工业大学信息科学与工程学院,辽宁沈阳,110870
2. 沈阳工业大学理学院,辽宁沈阳,110870
基金项目:辽宁省科学技术计划资助项目(2007410003); 沈阳市科学计划资助项目(1D91226-5-DD)
摘    要:为了提高直线和曲线的光栅转换速度而产生了多步算法和行程算法.论文分析了光栅圆弧的特性,利用对中点法的结构和决策参数的重新构造,提出了一种简单、快速的行程计算方法.该方法以2点步进为主进行行程计算,并可以容易地结合局部模式分析以处理复杂的光栅模式.实验和分析表明,所形成的新算法综合利用了2点步进和行程方法的优势,有效地减少了计算量和I/O次数,其圆弧绘制速度明显优于现有其它算法,且理论推导简单,不含乘法、开方等复杂运算,硬件实现容易,并可以推广到其他圆锥曲线的绘制.

关 键 词:圆弧绘制  整数运算  行程算法  多步算法  扫描转换

Efficient hybrid scan-conversion algorithm for circles drawing
Zhang Shengnan , Niu Lianqiang , Chen Xin.Efficient hybrid scan-conversion algorithm for circles drawing[J].Journal of Engineering Graphics,2012,33(6):50-58.
Authors:Zhang Shengnan  Niu Lianqiang  Chen Xin
Affiliation:1.School of Information Science and Engineeringe,Shenyang University of Technology,Shenyang Liaoning 110870,China; 2.School of Science,Shenyang University of Technology,Shenyang Liaoning 110870,China)
Abstract:In order to improve speed of circles drawing,some multi-step or run-length slice algorithms are proposed.Based on careful analysis of the characteristics of raster-scan circles,a simple and fast method to calculate lengths of slices is presented in this paper.In the new algorithm,double-step control is mainly used for larger horizontal run-slices,and mixed single-step and double-step control is adopted for complicated pattern and run-slices with 45? angle,furthermore,each horizontal run-slice is output at once,only about 2.9 times basic operations are needed for once stepping on average.Experiments and analysis shows that the new algorithm is significantly faster than previously published ones,and its' derivation can be gained in a simple manner.Furthermore,it can be implemented with hardware since no complex operations are involved,and can be developed to draw other conic curves.
Keywords:circle drawing  integer operation  run-length algorithm  multi-point drawing  scan-conversion
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号