检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《沈阳工业大学学报》2009年第6期686-690,共5页Journal of Shenyang University of Technology
基 金:辽宁省科学技术计划资助项目(2007410003)
摘 要:为了实现简单、快速的光滑直线绘制,利用修改的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.
关 键 词:反走样 直线生成 整数运算 逐点绘制 双步绘制 图形算法 亮度控制 BRESENHAM算法
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.147