检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《沈阳工业大学学报》2010年第4期411-416,共6页Journal of Shenyang University of Technology
基 金:辽宁省科学技术计划资助项目(2007410003)
摘 要:为了提高圆弧的生成效率,给出一种快速圆弧绘制的简单算法.该算法将圆弧离散轨迹看成是由一系列水平线段和斜线段构成,逐段找出并绘制这些线段,可减少圆弧绘制过程中所需的输出操作.与现存的行程类算法不同,新算法对斜线段的定义更合理,并直接对传统Bresenham算法的决策参数进行迭代和检测,圆弧的不同区段无需重新构造初始值,节约了运算量且算法结构非常简单.2步加速计算线段长度措施的提出进一步提高了计算效率,且每执行一次输出操作可生成2个或多个像素点.与Bresenham算法相比,新算法的圆弧平均绘制速度提高近1倍,并可以推广到椭圆或其他二次曲线的绘制中.In order to improve the efficiency of circle drawing,a simple algorithm for fast circle drawing was proposed. In the present algorithm,the discrete locus of a circular arc was thought to be composed of a series of horizontal lines and diagonal lines. By locating and drawing these lines one by one,the output operation in the circle drawing process can be reduced. Different from the conventional run-length algorithms,the new algorithm defines diagonal lines more reasonably,and iteration and inspection are realized directly with the decision parameters of Bresenham algorithm. It is unnecessary to recalculate the initial values in different segments of circle,and thus the operation amount gets reduced and the algorithm structure is quite simple. The proposed 2-step accelaration calculation of line length increases the calculation efficiency further. Every output operation can generate two or more pixels. New algorithm almost doubles the circle drawing speed,compared with Bresenham algorithm. Furthermore,new algorithm can be generalized to the production of ellipse and other conics in computer graphics.
关 键 词:圆弧绘制 整数运算 行程算法 BRESENHAM算法 逐点绘制 多点绘制 光栅化 曲线生成
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.166