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

自适应多步位移码直线绘制算法
引用本文:苗兰芳,刘新国,彭群生,鲍虎军.自适应多步位移码直线绘制算法[J].软件学报,2002,13(4):637-642.
作者姓名:苗兰芳  刘新国  彭群生  鲍虎军
作者单位:1. 浙江大学,CAD&CG国家重点实验室,浙江,杭州,310027;浙江师范大学,计算机科学与工程学院,浙江,金华,321004
2. 浙江大学,CAD&CG国家重点实验室,浙江,杭州,310027
基金项目:国家自然科学基金资助项目(69823003)
摘    要:直线绘制是光栅图形学中一个最为基本的任务,加速传统直线绘制算法有着重要的实际意义.提出了一种新的直线绘制算法.与传统的直线绘制算法不同的是,该算法将直线直接表达成一串由0或1组成的位移码,并给出一个直线位移码的快速计算公式;在此基础上,通过对直线位移码周期性的分析,提出了一种新的自适应多步绘制算法.实验和理论分析表明,该算法能够大大减少生成直线的计算量,提高直线的绘制速度.

关 键 词:图形系统  扫描转换  位移码  绘制  自适应算法
文章编号:1000-9825/2002/13(04)0637-06
收稿时间:2000/7/23 0:00:00
修稿时间:1/3/2001 12:00:00 AM

An Adaptive Multi-Pixel Line Drawing Algorithm Based on Displacement Code
MIAO Lan-fang,LIU Xin-guo,PENG Qun-sheng and BAO Hu-jun.An Adaptive Multi-Pixel Line Drawing Algorithm Based on Displacement Code[J].Journal of Software,2002,13(4):637-642.
Authors:MIAO Lan-fang  LIU Xin-guo  PENG Qun-sheng and BAO Hu-jun
Abstract:Line drawing is a fundamental task for raster graphics. Any acceleration of the traditional line drawing process is of great significance. In this paper, a new line drawing algorithm is presented. The algorithm differs from the traditional line drawing algorithm in that a line is directly represented as a series of displacement codes consisting of 0 s and 1 s, which can be easily determined from a formula. Based upon periodic characteristics of the codes, a new adaptive multi-pixel line drawing algorithm is put forward.Both exerimental results and analysis show this algorithm greatly reduces the computation of line drawing and accelrates the line drawing process.
Keywords:graphics system  scan conversion  displacement code  rendering  adaptive algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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