期刊文献+

基于对角线行程的直线生成算法研究 被引量:3

Line interpolation algorithm based on diagonal run-length
下载PDF
导出
摘要 提出了一种基于对角线行程的直线生成算法。针对现有基于行程模式的直线生成算法在直线斜率大于1/2时效率极剧下降的问题,提出将在同一45°对角线上的连续点亮的像素点个数作为行程计算。算法详细分析了决定对角线行程长度的所有因素,对于满足一定条件的特殊直线,算法不需要进行偏差判断,可直接生成整条直线;对普通直线,仅使用一次加法运算和判零运算即可得到对角线行程长度,改善了行程算法的效率,弥补了直线行程算法长期以来存在的缺点。 The efficiency of previous line interpolation algorithms based on horizontal run-length is greatly reduced when the slope of line is greater than 1/2. A new algorithm based on diagonal run-length was presented by treating the successive pixels on a same diagonal direction as a whole. Based on a careful analysis of the line segments' properties, the algorithm can generate the whole line without error discriminating when line meets a special condition; to other lines, the diagonal run-length can be determined by only one addition and a zero judgment so that the efficiency of line interpolation algorithm is improved.
作者 叶晓彤 邓云
出处 《计算机应用》 CSCD 北大核心 2008年第9期2270-2273,共4页 journal of Computer Applications
关键词 直线生成 行程 对角线 偏差因子 line interpolation run-length diagonal direction error discriminator
  • 相关文献

参考文献8

  • 1BRESENHAM J E. Algorithms for computer control of a digital plotter [J]. IBM systems Journal, 1965, 4(1): 25 -30.
  • 2PITTEWAY M L V, GREEN A J R. Bresenham's algorithm with run line coding shortcut [ J]. Computer Journal, 1982, 25(1) : 114 - 115.
  • 3BRESENHAM J E. Run length slice algorithm for incremental lines [ C]// In Fundamental Algorithms for Computer Graphics. Berlin: Springer-Verlag, 1985:59 - 104.
  • 4韩玫瑰,刘明军,董学仁.基于并行填充模式的直线生成算法[J].济南大学学报(自然科学版),2004,18(3):212-214. 被引量:6
  • 5郑宏珍,赵辉.改进的Bresenham直线生成算法[J].中国图象图形学报(A辑),1999,4(7):606-609. 被引量:32
  • 6BOYER V, BOURDIN J J. Fast lines: A span by span method [ J]. Computer Graphics Forum. 1999, 18(3) : 267 - 277.
  • 7FREEMAN H. Boundary encoding and processing [ C]// Picture Processing and Psychopictoris. New York: Acadaemic. 1970:241 -306.
  • 8黄斌茂,张利.基于自适应步长的直线生成算法[J].清华大学学报(自然科学版),2006,46(10):1719-1722. 被引量:4

二级参考文献12

  • 1Bresenham J E.Algorithm for computer control of a digital plotter[J].IBM Systems Journal,1965,4(1):25-30.
  • 2Wright W E.Parallelization of Bresenham's line and circle algorithms[J].IEEE CG&A,1990,10(5):60-67.
  • 3Earnshaw W E.Line tracking for incremental plotters[J].The Computer Journal,1980,23(1):46-52.
  • 4Chen J X.Multiple segment line scan-conversion[J].Computer Graphics Forum,1997,16(5):257-268.
  • 5Gardner P L.Modifications of Bresenham's algorithm for display[R].IBM Tech Disclosure Bull.18,1975:1595-1596.
  • 6WU Xiaolin,Rokne J G.Double-step incremental generation of lines and circles[J].Computer Vision,Graphics and Image Processing,1987,37(3):331-344.
  • 7Bao P G,Rokne J G.Quadruple-step line generation[J].Computers & Graphics,1989,13(4):461-469.
  • 8Gill G W.N-step incremental straight-line algorithms[J].IEEE CG&A,1994,14(3):66-72.
  • 9Rokne J G,Wyvill B,WU Xiaolin.Fast line scan-conversion[J].ACM Transactions on Graphics,1990,9(4):376-388.
  • 10Boyer V,Borudin J J.Auto-adaptive step straight-line algorithm[J].IEEE CG&A,2000,20(5):67-69.

共引文献35

同被引文献21

  • 1贾银亮,张焕春,经亚枝.Bresenham直线生成算法的改进[J].中国图象图形学报,2008,13(1):158-161. 被引量:26
  • 2蔺想红,张田文.自适应多基元直线绘制算法[J].计算机辅助设计与图形学学报,2006,18(8):1136-1141. 被引量:5
  • 3黄斌茂,张利.基于自适应步长的直线生成算法[J].清华大学学报(自然科学版),2006,46(10):1719-1722. 被引量:4
  • 4贾银亮,张焕春,经亚枝,刘晶.6步直线生成算法[J].山东大学学报(工学版),2007,37(1):61-64. 被引量:2
  • 5BOYER V, BOURDIN J J. Auto-adaptive step straight-line algorithm[ J ]. IEEE Computer Graphics and Applications, 2000, 20 (5) :67-69.
  • 6BRESENHAM J E. Algorithm for computer control of a digital plotter[ J ]. IBM Systems Journal, 1965,4(1) : 25 - 30.
  • 7GARDNER P L. Modifications of Bresenham's algorithm for display [J]. IBM Technical Disclosure Bulletin, 1975, 18 (5) : 1595 - 1596.
  • 8WU X, ROKNE J G. Double-step incremental generation of lines and circles[ J ]. Computer Vision, Graphics, and Image Processing, 1987, 37(3) : 331 - 344.
  • 9GRAHAM P, IYENGAR S S. Double and triple-step incremental linear interpolation[ J ]. IEEE Computer Graphics and Applieations, 1994, 14(3) : 49 - 53.
  • 10BAO P G, ROKNE J G. Quadruple-step line generation[ J ]. Computers & Graphics, 1989, 13 (4) : 461 - 469.

引证文献3

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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