Dithering trades spatial resolution for grey-level depth. A device with few output levels approximates an intermediate intensity by mixing the available levels over a small region, which the eye averages at normal viewing distance.
- Each pixel is divided into sub-pixels, each forced to an available level
- The count of sub-pixels at the higher level encodes the target intensity
- A fixed dither matrix sets the order in which sub-pixels switch on, spreading them to avoid visible clumps
Used in newspaper halftoning, laser printing, and exporting photos to a small fixed palette such as GIF.
Worked Example
A bi-level device with output levels and . Target intensity across one block, using the Bayer dither matrix.
Sub-pixel is set to iff .
- has threshold . Since , set to .
- has threshold . Since , set to .
- has threshold . Since , set to .
- has threshold . Since , set to .
2 of the 4 sub-pixels are on, so the block averages , matching the target. The on sub-pixels form a checkerboard.