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

反走样技术在计算机图形仿真中的运用
引用本文:杨爱良,杨睿,熊智勇.反走样技术在计算机图形仿真中的运用[J].计算机仿真,2005,22(4):124-126.
作者姓名:杨爱良  杨睿  熊智勇
作者单位:上海交通大学电子信息学院,上海,200030;中国无线电电子研究所,上海,200233
摘    要:阐述了反走样技术的基本原理和实现方法,重点描述了计算机图形中的直线反走样算法。该文采用的算法是基于三像素线宽的,通过调整像素的亮度来消除直线绘制中的锯齿现象。并把该算法推广到圆和椭圆的反走样。最后,采用改进的直线扫描转换算法与反走样算法相结合,进一步提高了反走样直线的绘制速度。该算法利用了直线的多段特性,以及空间对称特性。仿真表明,相比于Bresenham的算法,该算法的速度大为提高。

关 键 词:反走样  扫描转换  像素  亮度
文章编号:1006-9348(2005)04-0124-02
修稿时间:2003年11月27

Application of Antialiasing Technique in the Simulation of Computer Graphics
YANG Ai-liang,YANG Rui,XIONG Zhi-yong.Application of Antialiasing Technique in the Simulation of Computer Graphics[J].Computer Simulation,2005,22(4):124-126.
Authors:YANG Ai-liang  YANG Rui  XIONG Zhi-yong
Affiliation:YANG Ai-liang~1,YANG Rui~2,XIONG Zhi-yong~2
Abstract:This paper describes the principle and implementation mothed of antialiasing technique, focusing on the algorithm for line's antialiasing in the computer gr aphics.The algorithm adopted is based on three-pixel-width ,through modifying li ghtness of pixel to eliminate zigzag. And it is extended to the antialiasing of circularity and ellipse.Finally, in order to improve the drawing speed of antia liasing line,it is combined with an algorithm of line scan-conversion,w hich utilizes the property of a line ,including multiple segment property and sp ace symmetry property. The simulation shows that it improves remarkably the spee d of drawing lines,compared with Bresenham's algorithm.
Keywords:Antialiasing  Scanning conversion  Pixel  Lightness
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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