计算机技术与发展2012,Vol.22Issue(3):51-54,4.
基于点到直线距离的直线扫描转换算法
A Line Scan Conversion Algorithm Based on Distance of Point to Line
摘要
Abstract
Line generating algorithm is one of the most important and basic algorithms in computer graphics and computer aided design. Anti-aliasing algorithm is very important content in graphics algorithm. It presents a line scan conversion algorithm based on distance of point to line and gives the algorithm derivation process and code. It introduces specific application of algorithm in line anti-aliasing. This algorithm is a method which uses increment technology. It regards distance of point to line as discriminant,it draws anti-aliasing line by method of weighted region sampling, which is convenient to draw anti-aliasing line according to the distance of point to line on the scan conversion process.lt can improve efficiency of anti-aliasing. The algorithm possesses special features which use integer variable,not concerned with multiplication and division. It is suit for hardware implementation.关键词
直线扫描转换/算法/反走样Key words
line scan conversion/ algorithm/ anti-aliasing分类
信息技术与安全科学引用本文复制引用
陈幼明..基于点到直线距离的直线扫描转换算法[J].计算机技术与发展,2012,22(3):51-54,4.基金项目
甘肃省自然科学基金项目(0803 RJZA109) (0803 RJZA109)