liveBook · Manning

Anti-aliasing

As explained in How Computers Make Books

A rendering technique that reduces visible jaggedness by assigning intermediate intensities near shape boundaries.

Anti-aliasing smooths jagged low-resolution edges by assigning intermediate intensities, such as gray, to pixels near a shape’s boundary. A diagonal line then appears less like a staircase, even though the screen still uses discrete dots. The name comes from signal processing, where aliasing describes problems caused by low-resolution versions of higher-resolution signals. section 1.3

A smoother ampersand

Imagine preparing a filled ampersand for a coarse display. Pure black-and-white dots make its curves visibly jagged; replacing boundary dots with suitable gray intensities makes the low-resolution shape look closer to the ideal high-resolution form. section 1.3

Figure 1.12 A shape filled first with black and white dots and then with dots of differing shades of gray

Compare the same filled shape rendered with only black and white dots and with differing shades of gray. section 1.3

How How Computers Make Books covers it

How deep it goes
Defines gray boundary intensities and connects them to aliasing, without detailing an algorithm for calculating each intensity.
Examples
Uses diagonal lines, a filled ampersand, microscope photographs, and displays with black, white, and gray dots.
What it assumes
Starts from visible dots and black-and-white approximations before introducing aliasing and signal-processing terminology.
What you can do after
Evaluate how gray boundary pixels make coarse lines and shapes appear smoother.
How it connects
Connects aliasing with signal processing, pixel resolution, and red-green-blue sub-pixels.

Also explained in

Compare how 2 books explain anti-aliasing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of How Computers Make Books. The section links point to the parts of the book it draws on.