Live data from Hacker News

Why do we need dithering?

typefully.com

71–80 of 115 posts

Re: Why do we need dithering?

#72

Can somebody explain to me how dithering is an aesthetic (as mentioned in the article)? I feel I'm too young to understand that

https://shared.fastly.steamstatic.com/store_item_assets/stea...

https://shared.fastly.steamstatic.com/store_item_assets/stea...

https://store.steampowered.com/app/410970/Master_of_Orion_1/

Re: Why do we need dithering?

#73
post #69
post #64

I haven't written about this yet but I don't often see it mentioned: dithering has applications outside of image processing. Any time one needs to create a sequence sampled from a distribution, but would like to do so "evenly" without creating lumps, Floyd–Steinberg is a decent candidate.

Also in audio to downsample to 16 bits.

Quantize to 16 bits.

Re: Why do we need dithering?

#74
post #67

Earlier quoted context omitted.

And a poster of Lenna is on the wall of the Richard Hendricks character in the Silicon Valley series. Which makes sense as he's working on a compression algorithm.

Just a heads-up: you seem to be shadow-banned, all your comments are auto-dead.

I can see them?

Re: Why do we need dithering?

#75

Dithering is super useful in dark scenes in games and movies. By adding random noise to the screen it makes bands of color with harsh transitions imperceptible, and the dithering itself also isn't perceptible. I'm sure there are better approaches nowadays but in some of my game projects I've used the screen space dither approach used in Portal 2 that was detailed in this talk: https://media.steampowered.com/apps/valv…

It's not cheap for streaming. It's harder to compress and is lost in the process. The video codec is a smart low pass filter.

Re: Why do we need dithering?

#77
post #60
post #15

This is going to be an odd comment, but I immediately recognised the parrot in the test images. It's the scarlet macaw from 2004 which is often used in many Wikipedia articles about colour graphics. I think this is the original, photographed and contributed by Adrian Pingstone: https://commons.wikimedia.org/wiki/File:Parrot.red.macaw.1.a... But this particular derivative is the one that appears most often in the Wiki…

The predecessor of dithering was the art of wood engraving, which reproduced the texture of illustrations in wood blocks used for printing in newspapers and books; necessarily in black and white. It's difficult to imagine now, but there was an entire industry of engravers to many of whom solely practiced engraving of others designs (often supplied drawn directly on the block to be engraved, to save time). These engra…

This is the kind of nerd food I keep hoping to find on HN comments. Thanks!

Re: Why do we need dithering?

#78
post #37

We really don't anymore. Back in the late 90s maybe. Gifs and other paletted image formats were popular. I even experimented with them. I designed various formats for The Palace. The most popular was 20-bit (6,6,6,2:RGBA, also 5,5,5,5; but the lack of color was intense, 15 bits versus 18 is quite a difference). This allowed fairly high color with anti-aliasing -edges that were semi transparent.

https://en.wikipedia.org/wiki/Frame_rate_control

Your screen likely uses dithering to produce 1-2 LSBs of each color channel of this piece of graphics right now.

Re: Why do we need dithering?

#80

> Before we all mute the word 'dithering' Is this a reply to something?

Yes, it's referencing a tweet which briefly made the rounds a few weeks ago: https://x.com/TukiFromKL/status/1981024017390731293 Many people believed that the author was claiming to have invented a particular illustration style which involved dithering.

The cringe is strong with this one.

(Thanks for the heads up, I hadn't seen that)

Post reply on HN