6 ms·
I was showing coworkers an example of the Floyd Steinberg algorithm today. The following images have the same amount of colors, namely black and white. https:
by anonfunction 9y ago
I was showing coworkers an example of the Floyd Steinberg algorithm today.
The following images have the same amount of colors, namely black and white.
https://i.imgur.com/stQUl5E.gif https://i.imgur.com/stQUl5E.gif
https://i.imgur.com/mw8IX9N.gif https://i.imgur.com/mw8IX9N.gif
Source image:
https://i.imgur.com/diR72k2.jpg https://i.imgur.com/diR72k2.jpg
- nitrogen 9y agoIs there any way to get the imgur mobile site to load the full res version?
- Terretta 9y agoOn Safari for iOS, long-press the reload icon in URL bar and choose “Request Desktop Site”. You’ll get a diff layout that shows the GIF.
- djmips 9y agoMy suspicion is that you didn't handle the gamma correctly as mentioned in another comment.
- Matumio 9y agoIndeed, the dithered image looks way too bright. It should be converted from sRGB gamma to linear light before dithering to black/white. Also, will need more than 8bits per channel if you hold the linear image as an intermediate result, otherwise you get posterization in the dark areas before the dithering even starts.
- leni536 9y agohttps://imgur.com/595mX6m https://imgur.com/595mX6m Done with imageworsener[1]. imagew -cc 2 -dither f -grayscale diR72k2.jpg diR72k2_dither.png [1] http://entropymine.com/imageworsener/ http://entropymine.com/imageworsener/