期刊文献+

反走样直线的灰度循环生成算法 被引量:6

Integral algorithm for generating anti-aliased straight line controlled by gray iteration
原文传递
导出
摘要 灰度转换是整数反走样直线和曲线绘制算法中较为耗时的操作。为了提高反走样直线的绘制效率,提出了一种直接利用灰度循环控制生成反走样直线的纯整数算法。该算法采用两点反走样模式,根据对灰度值的分解、每次步进时的像素及其灰度值直接利用灰度增量控制产生,从而避免了候选点与真实直线之间的距离计算,以及由距离到灰度的转换。分析表明,该算法每次步进仅需要4~5次整数基本运算,其效率较现有整数反走样直线生成算法有大幅度提高,且具有与基本直线生成算法相似的简单性。 Gray-conversion is a time-consuming operation for drawing anti-aliased straight lines or curves. In order to improve the efficiency of drawing anti-aliased straight lines, we propose a new anti-aliasing algorithm based on a two-pixel model. Different from other anti-aliasing algorithms, a technique which controls iterations by grey values directly rather than distances is proposed. Calculations about distances between pixels and real line and distance-grey conversion are abandoned, but accurate grey values rather than estimated ones can be obtained. The analyses prove that for one step only 4-5 integer operations are invoked in this algorithm, and the drawing speed is faster than other methods. Furthermore, this algorithm can be constructed with the simplicity similar to basic scan conversion algorithms.
出处 《中国图象图形学报》 CSCD 北大核心 2013年第1期115-122,共8页 Journal of Image and Graphics
基金 辽宁省科技计划项目(2007410003) 沈阳市科技计划项目(F12-168-9-00)
关键词 直线生成 反走样 光栅转换 整数运算 灰度循环控制 灰度转换 straight line drawing anti-aliased scan-conversion integer operations grey-iteration control grey-conversion
  • 相关文献

参考文献21

  • 1Crow F C. The aliasing problem in computer generated shaded images [ J]. Communications of the ACM, 1977, 20( 11 ) : 799- 805.
  • 2Bresenham J E. Algorithm for computer control of a digital plotter [ J]. IBM System Journal, 1965, 4( 1 ) : 25-30.
  • 3Foley J D, Dam A V, Feiner S K, et al. Computer Graphics: Principles and Practice [ M]. Reading, MA: Addison-Wesley, 1990.
  • 4Boyer V, Bourdin J J. Fast lines: a span by span method [ J]. Computer Graphics Forum, 1999, 18 (3) : 377-384.
  • 5Boyer V, Bourdin J. Auto-adaptive step straight-line algorithm [ J ]. IEEE Computer Graphics and Applications, 2000, 20 (5) : 67-69.
  • 6蔺想红,张田文.自适应多基元直线绘制算法[J].计算机辅助设计与图形学学报,2006,18(8):1136-1141. 被引量:5
  • 7贾银亮,张焕春,经亚枝.圆的整数反走样生成算法[J].中国图象图形学报,2012,17(1):130-136. 被引量:4
  • 8Leler W J. Human vision, anti-aliasing, and the cheap 4000 line display [J]. Computer Graphics, 1980, 14(3) : 308-313.
  • 9Field D. Two algorithms for drawing anti-aliased lines [ C ]// Proceedings of National Computer Graphics Association of Canada Conference-Graphics Interface'84. Toronto S: MacKay, 1984: 87 -95.
  • 10Fujimoto A, Iwata K. Jag-free images on raster displays [ J ]. IEEE Computer Graphics and Applications, 1983, 3 (9) : 26- 34.

二级参考文献34

共引文献8

同被引文献62

引证文献6

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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