Floyd–Steinberg Algorithm
A classic error-diffusion dithering algorithm proposed by Robert Floyd and Louis Steinberg in 1976. It is used to reduce banding when quantizing an image to a limited palette by diffusing quantization error to neighboring pixels.
Timeline (last 90 days)
The Floyd–Steinberg algorithm was proposed by Robert Floyd and Louis Steinberg in 1976 and is the most classic implementation of error-diffusion dithering.
The Floyd–Steinberg algorithm diffuses the quantization error to the four unprocessed neighboring pixels to the right, lower-left, below, and lower-right with weights of 7/16, 3/16, 5/16, and 1/16.
The serial structure of the Floyd–Steinberg algorithm makes it inherently non-parallelizable, because the result of the next pixel depends on the error input from the previous pixel.
The drawback of the Floyd–Steinberg algorithm is that it easily produces worm artifacts, and in real-time rendering the sequential dependency slows down the pipeline.
Many web retro rendering projects ultimately choose ordered dithering rather than error diffusion as a balance between performance and predictability.
All Facts (5)
The Floyd–Steinberg algorithm was proposed by Robert Floyd and Louis Steinberg in 1976 and is the most classic implementation of error-diffusion dithering.
50%UnverifiedThe Floyd–Steinberg algorithm diffuses the quantization error to the four unprocessed neighboring pixels to the right, lower-left, below, and lower-right with weights of 7/16, 3/16, 5/16, and 1/16.
50%UnverifiedThe serial structure of the Floyd–Steinberg algorithm makes it inherently non-parallelizable, because the result of the next pixel depends on the error input from the previous pixel.
50%UnverifiedThe drawback of the Floyd–Steinberg algorithm is that it easily produces worm artifacts, and in real-time rendering the sequential dependency slows down the pipeline.
50%UnverifiedMany web retro rendering projects ultimately choose ordered dithering rather than error diffusion as a balance between performance and predictability.
50%