news.volyx.in

Ditherpunk: The article I wish I had about monochrome image dithering (surma.dev)

1290 points by todsacerdoti · 2092 days ago · 200 comments on HN

Article summary

The article discusses the concept of dithering, a technique used to reduce the visibility of quantization errors in images, particularly in monochrome images. Dithering works by intentionally adding noise to an image to randomize the quantization error, creating a more natural and less pixelated appearance. The article explores different types of dithering, including random noise, ordered dithering, and blue noise, and discusses their applications and trade-offs. The author also touches on the importance of considering color spaces and gamma correction when applying dithering techniques.

Main themes

  • dithering techniques
  • image processing
  • quantization error
  • color spaces
  • gamma correction
  • audio recordings
  • digital control systems
  • animation and video processing

What commenters say

  • Dithering is a useful technique not only for images, but also for audio recordings and digital control of physical systems.
  • The definition of dithering should be broadened to include any method of reducing the bit depth of a signal that prioritizes accurate representation of low frequencies over high frequencies.
  • Output-dependent feedback is another effective way to achieve creamy and evenly dispersed dots in highlight and shadow areas.
  • Blue noise dithering can be a good alternative to other dithering methods, but its effectiveness depends on the specific use case and the characteristics of the image or signal being processed.
  • Dithering can be applied to animations, but it requires careful consideration of the starting conditions of each frame to avoid a noisy appearance.
  • Some people argue that random noise is not always preferable to non-linear error, and that reducing non-linear error is not necessarily equivalent to improving the perceived quality of the data.
  • Different dithering algorithms can produce varying results, and the choice of algorithm depends on the specific requirements and constraints of the application.
  • Dithering can be used to create aesthetically pleasing effects, such as in the game Return of the Obra Dinn, where it is used to create a stable and visually appealing monochrome image.