Traditional Culture Encyclopedia - Photography major - What is anti-aliasing for?

What is anti-aliasing for?

Anti-aliasing is a technique to eliminate jagged edge in the output image of display. These jagged edges are usually caused by graphics aliasing when high-resolution signals are expressed in low resolution or 3D graphics coordinates cannot be accurately calculated. Anti-aliasing technology can effectively solve these problems.

It is usually used in digital signal processing, digital photography, computer graphics and digital sound effects. To soften the aliased digital signals.

Extended data

Working principle:

The image is created in a separate buffer, and the resolution of the buffer image is higher than the screen resolution. Suppose it is 2* 1 (or 2x), and the horizontal size of the buffer scene is twice the screen resolution. If it is 2*2 (or 4x) anti-aliasing, the horizontal and vertical dimensions of the buffered image are twice that of the displayed image. After the pixel calculation is doubled, two or four adjacent pixels are selected. This process is called sampling.

After mixing these samples, the final pixel has the characteristics of adjacent pixels, so the transition color between pixels becomes more approximate and the color transition of the whole image tends to be smooth. Then the final pixel is output to the frame buffer, stored as an image, and then sent to the display to display a frame. Every frame is anti-aliased, and all the pictures in the game become anti-aliased.