期刊文献+

基于Bresenham算法的反走样直线整数生成算法 被引量:2

Integer algorithm for generating antialiasing straight lines based on Bresenham algorithm
下载PDF
导出
摘要 为了实现简单、快速的光滑直线绘制,利用修改的Bresenham直线生成算法,提出了一个完全利用整数运算实现的两点宽像素级反走样直线逐点绘制算法.该算法根据距离差控制参数产生候选点与理想直线间的精确距离,进而控制两个同时被点亮的像素点的亮度.利用区间近似消除了算法中的整数乘除法运算,并利用周期性和对称性提高了算法的效率.分析表明,新算法仅比Bresenham直线生成算法多用几次整数比较运算和簿记工作,具有较高的光滑直线生成速度,且易于硬件和算法语言的实现. For drawing the smooth straight line rapidly and easily, a two pixel thick pixel-level antialiasing straight line drawing algorithm implemented by integer operation completely was presented based on the modified Bresenham straight line generation algorithm. The proposed algorithm generated the accurate distance between the candidate point and ideal line based on the distance difference control parameter, and then controlled the brightness of two lightened pixels. The integer multiply and division operation was eliminated by means of the interval approximation, and the efficiency of the algorithm was improved using both periodicity and symmetry. The analysis results show that the new algorithm can rapidly generate the smooth straight line by using only a few more bookkeeping and integer comparison operation than Bresenham algorithm, and is easy to be implemented by both hardware and algorithmic language.
作者 牛连强 邵中
出处 《沈阳工业大学学报》 EI CAS 2009年第6期686-690,共5页 Journal of Shenyang University of Technology
基金 辽宁省科学技术计划资助项目(2007410003)
关键词 反走样 直线生成 整数运算 逐点绘制 双步绘制 图形算法 亮度控制 BRESENHAM算法 antialiasing straight line generation integer operation pixel-level drawing double-step drawing graphics algorithm brightness control Bresenham algorithm
  • 相关文献

参考文献14

  • 1Crow F C. The aliasing problem in computer-generated shaded images [ J ]. Communications of the ACM, 1977,20(8) :799 - 805.
  • 2Pitteway M L V, Watkinson D J. Bresenham' s algorithm with grey scale [ J ]. Communications of the ACM,1980,23( 11 ) :625 -626.
  • 3Pitteway M L V, Olive P M. Filtering edges by pixel integration [ J ]. Computer Graphics Forum, 1985,4 (2) :111 -116.
  • 4Gupta S, Sproull R. Filtering edges for gray-scale displays [ J ]. Computer Graphics, 1981,15 ( 3 ) : 1 - 5.
  • 5Schilling A. A new simple and efficient antialiasing with subpixel masks [ J]. Computer Graphics, 1991, 25(4) :133 - 141.
  • 6Wu X. An efficient antialiasing technique [ J ]. Computer Graphics, 1991,25 ( 4 ) : 143 - 152.
  • 7江修,张焕春,经亚枝.三像素宽反走样直线的绘制算法研究[J].南京航空航天大学学报,2003,35(2):148-151. 被引量:18
  • 8李震霄,何援军.任意宽度直线的绘制与反走样[J].武汉大学学报(工学版),2006,39(4):130-133. 被引量:21
  • 9LIU Y K. An all-integer algorithm for drawing antialiased straight lines[ J ]. Computer Graphics Forum, 1994,13 (4) :219 - 221.
  • 10刘勇奎.反走样的整数算法[J].计算机工程与设计,1995,16(1):61-64. 被引量:4

二级参考文献7

共引文献32

同被引文献26

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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