利用残差控制的快速圆弧生成与反走样算法  被引量:6

Fast Algorithms for Generating and Anti-aliased Drawing Circles Controlled by Residuals

在线阅读下载全文

作  者:牛连强[1] 冯海文[1] 吴澎[1] 

机构地区:[1]沈阳工业大学软件学院,沈阳110023

出  处:《计算机辅助设计与图形学学报》2011年第2期232-239,共8页Journal of Computer-Aided Design & Computer Graphics

基  金:辽宁省科学技术计划项目(2007410003);沈阳市科学计划项目(1D91226-5-DD)

摘  要:圆弧的生成和反走样绘制是图形学领域的重要问题.为了提高圆弧的生成速度,提出一种直接利用残差递推实现的基本圆弧生成算法.该算法直接以变形后的残差作为判别依据,消除了迭代中的常数项加法,且每次步进可以方便地转换为灰度,进而构成一种整数反走样绘制算法,这2种算法具有十分相近的结构,且比同类算法效率更高;然后,引入2步迭代参数控制,并视圆弧为水平线段和斜线段逼近而成,推广得到了一种双步行程算法.理论分析和实验表明,文中算法比传统算法的绘制效率提高0.7倍以上.How to generate and anti-aliased draw circles is an important problem of computer graphics. In order to improve the circle drawing speed, a basic circle generating algorithm is presented. In the algorithm, residuals rather than intermediate data are used as decision parameters, the addition of constant in every loop is eliminated. Since grey conversion can be obtained in a simple manner, the algorithm may he easily developed into an integral anti aliased algorithm. Two algorithms are constructed by quite similar structure, and are all more effective than other algorithms. By calculating and drawing slices one by one with double-step technique, the developed run-length algorithm can effectively increase the circle drawing speed due to the great reduction of operations. The experiment results prove that the circle-drawing speed of the run length algorithm can be almost 1.7 times comparing with that of basic algorithm.

关 键 词:圆弧生成 整数运算 多点绘制 反走样 行程算法 灰度转换 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象