【文件属性】:
文件名称:Filtering Edges for Gray-Scale Displays
文件大小:370KB
文件格式:PDF
更新时间:2015-04-05 15:43:29
计算机图形学,画直线,反走样
While simple line-drawing techniques produce "jagged" lines
on raster images, more complex anti-aliasing, or filtering,
techniques use gray-scale to give the appearance of smooth lines
and edges. Unfortunately, these techniques are not frequently
used because filtering is thought to require considerable
computation. This paper presents a simple algorithm that can be
used to draw filtered lines; the inner loop is a variant of the
Bresenham point-plotting algorithm. The algorithm uses table
lookup to reduce the computation required for filtering. Simple
variations of the algorithm can be used to draw lines with different
thicknesses and to smooth edges of polygons.