检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:厉玉蓉[1] 董付国[1] 刘岩[1] 牛翠霞[1]
机构地区:[1]山东工商学院计算机科学与技术学院,烟台264005
出 处:《中国图象图形学报》2011年第10期1896-1899,共4页Journal of Image and Graphics
基 金:国家自然科学基金项目(60803048;60673153;60773053);山东省自然科学基金项目(Y2007A28);山东省高校科研发展计划项目(J10LG21)
摘 要:在Bresenham算法基础上,采用多点画线法的思想,设计并实现了直线快速生成的像素行算法。根据相邻像素之间的增量取决于直线斜率这一特点,该算法一次生成一个像素行中所有像素点坐标。算法分析与大量实验结果均表明,在保证直线精确度与Bresenham算法相同的情况下,像素行算法减少了大量计算,提高了直线生成效率,直线与x或y坐标轴夹角α越小,算法速度就越快,提高倍数接近于1/tanα,具有较大的理论价值和实际意义。On the basis of Bresenham algorithm and other fast algorithms based on multi-pixel incremental generation method, we proposes and implements a new algorithm based on pixel line, considering that the increment between adjacent pixels is determined by the line slope. We take full advantage of the relativity between pixels in the same line, generating all pixels in a pixel line once. The new algorithm guarantees the same line precision as the Bresenham algorithm, using only integer operation and shift operations, which can give a higher speed and can easily be implemented in hardware. The smaller the angle between the line and the coordination axis is, the more efficiency this algorithm can obtain. This algorithm based on pixel line is of great significance.
关 键 词:直线生成算法 BRESENHAM算法 像素行
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.116.193