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

基于自适应步长的直线生成算法
引用本文:黄斌茂,张利.基于自适应步长的直线生成算法[J].清华大学学报(自然科学版),2006,46(10):1719-1722.
作者姓名:黄斌茂  张利
作者单位:清华大学,电子工程系,北京,100084
摘    要:为了改进计算机图形学中画线算法的效率,提出一种基于自适应步长的直线生成算法和一种集成了对称性、最大公约数和自适应步长的集成算法。由于直线仅包含一种或两种与斜率有关的像素模式,算法利用这一特性,自适应地采用最佳步长,在单次判决中生成多个像素。通过综合使用直线像素的中点对称性、最大公约数性质以及像素模式的有限性等3种相互独立的特性,集成算法在单次判决中可生成更多像素。算法的仿真结果表明:新算法生成直线的效率更高、速度更快。

关 键 词:Bresenham算法  自适应步长  对称性  最大公约数  像素模式
文章编号:1000-0054(2006)10-1719-04
修稿时间:2005年7月13日

Self-adaptive step straight-line algorithms
HUANG Binmao,ZHANG Li.Self-adaptive step straight-line algorithms[J].Journal of Tsinghua University(Science and Technology),2006,46(10):1719-1722.
Authors:HUANG Binmao  ZHANG Li
Abstract:Line drawing algorithm in computer graphics systems is improved with a self-adaptive step straight-line algorithm and another integrated algorithm that combines self-adaptive step algorithm with the symmetry and greatest common divisor(GCD)-based algorithms.The self-adaptive step algorithm uses the limited pixel patterns inherent in line segments to adaptively determine the best step that corresponds to the line slope and then generates multi-pixels in each judgement. The integrated algorithm utilizes the symmetry,GCD,and limited pixel patterns and generates more pixels in each cycle.Comparisons with Bresenham's algorithm show that the integrated algorithms are more effective and efficient.
Keywords:Bresenham's algorithm  self-adaptive steps  symmetry  greatest common divisor(GCD)  pixel pattern
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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