TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Atkinson Dithering (2021)

236 点作者 jdblair11 个月前

20 条评论

mungoman211 个月前
To avoid changing the overall brightness like in the examples it is important to work on linearized values or to adjust the running error accordingly. It's not correct to work on the encoded sRGB values of the image directly. This is a very common mistake in blog articles about diy image filtering.
评论 #40742511 未加载
评论 #40742622 未加载
评论 #40747013 未加载
JKCalhoun11 个月前
I fell in love with the original Macintosh display. It was so crisp, the black and white pixels so beautiful (especially if you had come off the typical computer hooked up to a TV). Combine that with the beautiful dithering and I almost shunned color when it came along.<p>(I believe I&#x27;ve read that Atkinson&#x27;s dithering didn&#x27;t come about until scanner software was needed for the Macintosh and so he wrote his own dithering code.)
评论 #40741512 未加载
评论 #40741032 未加载
WoodenChair11 个月前
This was the article that inspired me to study the MacPaint format. I ended up writing first a Python program that can do Atkinson dithering of a modern image and then save it as a MacPaint file for display on a retro Mac. That code is a chapter in my upcoming book. I then added 9 more 1-bit dithering algorithms and turned it into a Swift&#x2F;AppKit app so it&#x27;s easy to use if you want to Atkinson dither your own images and transfer them over to your retro Macs:<p><a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;retro-dither-b-w-is-beautiful&#x2F;id1586423971?mt=12" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;retro-dither-b-w-is-beautiful&#x2F;...</a>
garaetjjte11 个月前
More on dithering: <a href="https:&#x2F;&#x2F;surma.dev&#x2F;things&#x2F;ditherpunk&#x2F;" rel="nofollow">https:&#x2F;&#x2F;surma.dev&#x2F;things&#x2F;ditherpunk&#x2F;</a>
评论 #40740859 未加载
评论 #40742562 未加载
评论 #40746988 未加载
评论 #40741292 未加载
NelsonMinar11 个月前
These days dithering is a lost technique other than as an arty effect. It&#x27;s a shame, digital video playback would really benefit from it as a way to eliminate posterization.
评论 #40741097 未加载
评论 #40741735 未加载
评论 #40740257 未加载
评论 #40740229 未加载
评论 #40742108 未加载
评论 #40741085 未加载
评论 #40761701 未加载
评论 #40740172 未加载
评论 #40740750 未加载
评论 #40748687 未加载
评论 #40741217 未加载
lukko11 个月前
Thanks for sharing this.<p>I once used Floyd-Steinberg dithering to make 3D voxel prints from brain MRI scans [0]. You just convert the scan to full white and black values to represent different inks, and it means you don&#x27;t have to do any segmentation and can represent fine structures much more accurately.<p>May be interesting to try with Atkinson dithering too, although the loss of detail may be an issue.<p>[0] <a href="https:&#x2F;&#x2F;www.lukehale.com&#x2F;voxelprinting&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.lukehale.com&#x2F;voxelprinting&#x2F;</a>
feverzsj11 个月前
Error diffusions are hard to be parallelized. They&#x27;re also not stable, meaning moving pixel may look different in different frame. But they usually give best result for static images.
londons_explore11 个月前
I would like to see the ideas of dithering applied to voting systems.<p>Ie. Imagine a country with hundreds of elected officials, each of which represents a town or city. Each official is part of a party.<p>A dithering-like system could be used during the vote so that the country as a whole is fairly represented, and most towns <i>also</i> are represented by who the majority of their population wants.<p>It would work by, during an election, whenever a candidate is chosen for a location, any votes for <i>other</i> parties get transferred to neighbouring towns and cities. That is done repeatedly until every towns seat is filled, and nearly every voters vote has an impact (if not in their local town, then it gets to help a candidate of the same party nearbyish)
评论 #40744317 未加载
评论 #40740753 未加载
评论 #40742381 未加载
tiffanyh11 个月前
Am I the only person who thinks the Floyd-Steinberg dithering is superior is clarity and detail?<p>The Atkinson dithering makes the image appear overexposed&#x2F;blown-out (not true to the original image).
评论 #40744367 未加载
评论 #40742832 未加载
评论 #40742860 未加载
评论 #40747043 未加载
评论 #40744354 未加载
评论 #40742583 未加载
nullc11 个月前
This PHD thesis is the best technical coverage of dither science that I&#x27;ve seen:<p><a href="https:&#x2F;&#x2F;uwspace.uwaterloo.ca&#x2F;bitstream&#x2F;handle&#x2F;10012&#x2F;3867&#x2F;thesis.pdf;jsessionid=A3B029F6D36E97D7736287A136AB9962?sequence=1" rel="nofollow">https:&#x2F;&#x2F;uwspace.uwaterloo.ca&#x2F;bitstream&#x2F;handle&#x2F;10012&#x2F;3867&#x2F;the...</a><p>Among the things it covers is the design of a noise shaping filter with a more symmetrical response than the Floyd-Steinberg one.
bryanthompson11 个月前
One really nice use case for dithering that I&#x27;ve found is for building graphics for 8-bit (Pico-8 and Picotron) games and toys.<p>I made a ruby script that can take a graphic and scale it to whatever size, then it uses a closest color match to substitute colors for the _very_ limited Pico* palette and applies dithering to make it look attractive. I like Stenberg the most, but have played with Atkinson and am still feeling around a bit.
moribvndvs11 个月前
I never really paid attention to the grid-like artifacts[0] that FSD and some other dithering algorithms cause when a dithered image is scaled way down (as is the case of the thumbnails in this article).<p>[0] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Moir%C3%A9_pattern" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Moir%C3%A9_pattern</a>
OnlyMortal11 个月前
This just reminded me of the “secret” bitmap of the dev team hidden in the OS.<p>I recall using Macsbug to show it.
评论 #40744167 未加载
jd311 个月前
I remember creating an X-Face[0] using Atkinson Dithering for my SeaMonkey add-on MessageFaces[1]!<p>You can create one online here[2], but it doesn&#x27;t seem to support Atkinson for whatever reason.<p>[0]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;X-Face" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;X-Face</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;JohnDDuncanIII&#x2F;messagefaces">https:&#x2F;&#x2F;github.com&#x2F;JohnDDuncanIII&#x2F;messagefaces</a><p>[2]: <a href="https:&#x2F;&#x2F;www.dairiki.org&#x2F;xface&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.dairiki.org&#x2F;xface&#x2F;</a>
AceJohnny211 个月前
Why is the Floyd-Steinberg error diffusion kernel so uneven? What&#x27;s the output like if the error is distributed equally among the bottom-right pixels?<p>And this is a naive question, but could one construct a kernel that diffuses the error across all surrounding pixels, not just the bottom+right? I get that this will cause recursion difficulties as error bounces back-and-forth between neighboring pixels, but is that resolvable?
评论 #40740841 未加载
评论 #40741169 未加载
tiffanyh11 个月前
More example (and algorithms) can be found here:<p><a href="https:&#x2F;&#x2F;brucebcampbell.wordpress.com&#x2F;wp-content&#x2F;uploads&#x2F;2013&#x2F;04&#x2F;dithering-methods.pdf" rel="nofollow">https:&#x2F;&#x2F;brucebcampbell.wordpress.com&#x2F;wp-content&#x2F;uploads&#x2F;2013...</a>
leni53611 个月前
There is implementation variance on whether you apply the dithering consistently left to right on each row or you alternate. Floyd-Steinberg definitely benefits from the latter approach.<p>Also whether you apply the dithering in a linear colorspace.
GuB-4211 个月前
Just curious, does the website name &quot;Beyond Loom&quot; has anything to do with the video game &quot;Loom&quot; (1990)?
antirez11 个月前
Floyd-Steinberg looks a lot better IMHO.
评论 #40741083 未加载
kibwen11 个月前
Dithering can still be a striking aesthetic choice. Low Tech Magazine is my go-to example: <a href="https:&#x2F;&#x2F;solar.lowtechmagazine.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;solar.lowtechmagazine.com&#x2F;</a><p>From their About page:<p><i>&quot;Thus, instead of using full-colour high-resolution images, we chose to convert all images to black and white, with four levels of grey in-between. These black-and-white images are then coloured according to the pertaining content category via the browser’s native image manipulation capacities. Compressed through this dithering plugin, images featured in the articles add much less load to the content: compared to the old website, the images are roughly ten times less resource-intensive.&quot;</i>
评论 #40740360 未加载
评论 #40740572 未加载
评论 #40741390 未加载
评论 #40741230 未加载
评论 #40741431 未加载
评论 #40740703 未加载
评论 #40741612 未加载