1-bit 抖动
1-Bit Dither
只有黑白两种像素,靠排列图案表现出各种灰。


原图应用效果
Hotkit sample — rendered locally
用这个效果
即将推出
A portrait of a woman by a window rendered as a 1-bit dithered image, only pure black and white pixels, error-diffusion dither texture for shading, crisp pixel grid, early computer screen aesthetic.
Convert this image to 1-bit: only pure black and white pixels, with greys represented by error-diffusion dithering. Raise contrast first so the subject stays readable, and keep pixels crisp with no smoothing.
怎么认
- 只有两种颜色,通常是黑和白,或纸上的一种墨。
- 灰色由点阵图案组成,可能是规则网格,也可能是散开的纹理。
- 凑近看是细密的图案,离远看是明暗。
原理
1-bit 图像每个像素只存 1 位,不是亮就是暗。抖动(dither)就是靠改变一块区域里亮点的多少来假装出灰色。有序抖动用一个重复的阈值矩阵,会出现规则的十字网格;误差扩散,例如 1976 年的 Floyd-Steinberg 算法,把每个像素的误差分给旁边的像素,看起来更自然。早期的 Mac 屏幕和不少掌机游戏都靠它,现在成了流行的复古风格。
试一试
灰色区域里看到整齐的十字网格图案,这是有序抖动还是误差扩散?
有序抖动。它的重复阈值矩阵会形成规则网格;误差扩散则是不规则、像噪点的纹理。
相关效果
字符画 半调网点 CRT 扫描线 增感黑白 双色调参考资料
Wikipedia: Dither更新日期: