摘要 |
A method for rapidly performing an edge anti-aliasing procedure on a computer graphic image, by simultaneously performing a texture filtering procedure, thereby enabling both texture anti-aliasing and edge anti-aliasing to be performed. According to a first embodiment, the value of the alpha component is calculated for each pixel individually in order to performed the edge anti-aliasing method (Fig.1). According to preferred embodiments, an extra row or column of pixels is drawn on each side of the image with their alpha component set to total transparency, but with the same color value as the nearest pixels of the original image (Fig.5), to form an enhanced image. If the original pixels of the image had no alpha values, then these alpha values are set to full opacity. When the enhanced image is transformed, for example by being rotated and slanted, texture filtering is then performed, for example by linear interpolation (Fig.6).
|