期刊文献+

快速绘制圆弧的行程算法 被引量:5

A run-length algorithm for fast circle drawing
下载PDF
导出
摘要 为了提高圆弧的生成效率,给出一种快速圆弧绘制的简单算法.该算法将圆弧离散轨迹看成是由一系列水平线段和斜线段构成,逐段找出并绘制这些线段,可减少圆弧绘制过程中所需的输出操作.与现存的行程类算法不同,新算法对斜线段的定义更合理,并直接对传统Bresenham算法的决策参数进行迭代和检测,圆弧的不同区段无需重新构造初始值,节约了运算量且算法结构非常简单.2步加速计算线段长度措施的提出进一步提高了计算效率,且每执行一次输出操作可生成2个或多个像素点.与Bresenham算法相比,新算法的圆弧平均绘制速度提高近1倍,并可以推广到椭圆或其他二次曲线的绘制中. In order to improve the efficiency of circle drawing,a simple algorithm for fast circle drawing was proposed. In the present algorithm,the discrete locus of a circular arc was thought to be composed of a series of horizontal lines and diagonal lines. By locating and drawing these lines one by one,the output operation in the circle drawing process can be reduced. Different from the conventional run-length algorithms,the new algorithm defines diagonal lines more reasonably,and iteration and inspection are realized directly with the decision parameters of Bresenham algorithm. It is unnecessary to recalculate the initial values in different segments of circle,and thus the operation amount gets reduced and the algorithm structure is quite simple. The proposed 2-step accelaration calculation of line length increases the calculation efficiency further. Every output operation can generate two or more pixels. New algorithm almost doubles the circle drawing speed,compared with Bresenham algorithm. Furthermore,new algorithm can be generalized to the production of ellipse and other conics in computer graphics.
出处 《沈阳工业大学学报》 EI CAS 2010年第4期411-416,共6页 Journal of Shenyang University of Technology
基金 辽宁省科学技术计划资助项目(2007410003)
关键词 圆弧绘制 整数运算 行程算法 BRESENHAM算法 逐点绘制 多点绘制 光栅化 曲线生成 circle drawing integer operation run-length algorithm Bresenham algorithm pixel level drawing multi-point drawing rasterizing curve generating
  • 相关文献

参考文献10

  • 1Bresenham J E. A linear algorithm for incremental digital display of circular arcs [ J ]. Communications of the Association for Computing Machinery, 1977,20 (2) :100 - 106. 被引量:1
  • 2Foley J D, Dam A V, Feiner S K, et al. Computer graphics: principles and practice [ M ]. Boston: Addison-Wesley, 1990. 被引量:1
  • 3Wu X ,Rokne J. Double-step incremental generation of lines and circles [ J ]. Computer Vision, Graphics and Image Processing, 1987,37 ( 3 ) : 331 - 344. 被引量:1
  • 4刘勇奎,石教英.圆的像素级生成及反走样算法[J].计算机辅助设计与图形学学报,2005,17(1):34-41. 被引量:14
  • 5Hsu S Y,Chow L R, Liu C H. A new approach for the generation of circles [ J ]. Computer Graphics Forum, 1993,12(2) :105 - 109. 被引量:1
  • 6Graham P, Sitharama S I. Double-and triple-step incremental linear interpolation [ J ]. IEEE Computer Graphics and Applications, 1994,14 ( 3 ) :49 - 53. 被引量:1
  • 7Yao C, Rokne J G. Run-length slice algorithms for the scan-conversion of ellipses [J]. Computers & Graphics, 1998,22 (4) :463 - 477. 被引量:1
  • 8Gill G W. N-step incremental straight-line algorithms [ J ]. IEEE Computer Graphics and Applications, 1994,14 (3) :66 -72. 被引量:1
  • 9程锦,陆国栋,谭建荣.一种快速圆弧绘制算法[J].软件学报,2002,13(12):2275-2280. 被引量:8
  • 10唐荣锡,汪嘉业,彭群生.计算机图形学教程[M].北京:科学出版社,1996. 被引量:1

二级参考文献17

  • 1唐荣锡 汪嘉业.计算机图形学教程[M].北京:北京科学出版社,1996.. 被引量:3
  • 2Hearn,D等 孙正兴等(译).计算机图形学[M].北京:电子工业出版社,1998.. 被引量:1
  • 3Wu X, Rokne J G. Double-step incremental generation of lines and circles[J]. Computer Vision. Graphics and Image Processing, 1987, 37(3): 331~344. 被引量:1
  • 4Crow F C. The aliasing problem in computer-generated shaded images[J]. Communications of the ACM, 1977, 20(8): 799~805. 被引量:1
  • 5Pitteway M L V, Watkinson D J. Bresenham's algorithm with grey scale[J]. Communications of the ACM, 1980, 23(11): 625~626. 被引量:1
  • 6Pitteway M L V, Olive P M. Filtering edges by pixel integration[J]. Computer Graphics Forum, 1985, 4(2): 111~116. 被引量:1
  • 7Liu Y K. An all-integer algorithm for drawing anti-aliased straight lines[J]. Computer Graphics Forum, 1994, 13(4): 219~221. 被引量:1
  • 8Field D. Algorithms for drawing anti-aliased circles and ellipses[J]. Computer Vision, Graphics and Image Processing, 1986, 33(1): 1~15. 被引量:1
  • 9Mellroy M D. Best approximate circles on integer grids[J]. ACM Transactions on Graphics, 1983, 2(3): 237~264. 被引量:1
  • 10Liu Yongkui. The generation of circular arcs on hexagonal grids[J]. Computer Graphics Forum, 1993, 12(1): 21~26. 被引量:1

共引文献16

同被引文献64

  • 1韩庆瑶,贾桂红,黄燕梅.三次NURBS曲线轮廓的数控加工编程处理[J].煤矿机械,2005,26(1):68-71. 被引量:2
  • 2刘勇奎,石教英.圆的像素级生成及反走样算法[J].计算机辅助设计与图形学学报,2005,17(1):34-41. 被引量:14
  • 3王晓强,刘勇奎.参数曲线的分段步长生成算法[J].计算机应用研究,2006,23(1):227-229. 被引量:2
  • 4Bresenham J. A linear algorithm for incremental digital display of circular arcs [J]. Communications of the ACM, 1977, 20(2): 100-106. 被引量:1
  • 5Foley J D, van Dam A, Feiner S K, etal. Computer graphics principles and practice [M]. Reading Massachusetts: Addison Wesley Publishing Company, 1990. 被引量:1
  • 6Wu X L, Rokne J G. Double-step incremental generation of lines and circles [J]. Computer Vision, Graphics, and Image Processing, 1987, 37(3): 331-344. 被引量:1
  • 7Hsu S Y, Chow L R, Liu C H. A new approach for the generation of circles [J]. Computer Graphics Forum, 1993, 12(2): 105-109. 被引量:1
  • 8Yao C F, Rokne J G. Hybrid scan-conversion of circles [J]. IEEE Transactions on Visualization and Computer Graphics, 1995, 1(4): 311-318. 被引量:1
  • 9Graham P, Sitharama Iyengar S. Double-and triple-step incremental linear interpolation [J]. IEEE Computer Graphics and Applications, 1994, 14(3): 49-53. 被引量:1
  • 10Gill G W. N step incremental straight-line algorithms [J]. IEEE Computer Graphics and Applications, 1994, 14 (3): 66-72. 被引量:1

引证文献5

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部