1. 首页
  2. 课程学习
  3. C++/C
  4. Filtering Edges for Gray-Scale Displays

Filtering Edges for Gray-Scale Displays

上传者: 2019-01-02 05:02:42上传 PDF文件 370.22KB 热度 55次
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 computati on required for filtering. Simple variations of the algorithm can be used to draw lines with different thicknesses and to smooth edges of polygons. on required for filtering. Simple variations of the algorithm can be used to draw lines with different thicknesses and to smooth edges of polygons.
用户评论