Knusperli: A deblocking JPEG decoder
github.com
github.com
In essence, it computes the uncertainty from the JPEG quantization step (the source of most of JPEG’s compression) and uses that information to select a decoding that minimizes a particular error metric (here, discontinuities at block boundaries).
But it’s not limited to just that, in principle. It could optimize towards any decoded block within the quantization range given a suitable prior - and I imagine that this could be paired with e.g. a DNN to faithfully reconstruct an image from a JPEG with much better accuracy.
But the site should show more images. Some with hard edges, like text and line art, need to be included.
Some images are only available as badly encoded jpegs.
Knusperli would run first, to reduce quantization discontinuities a bit.
Lower right corner you can clearly trace 4 horizontal blocks, looks like algorithm tries hard to maintain encoded hard boundaries despite there being gradual color shift. Maybe it needs to look further than direct neighbor block for clues.
Edit: Sorry, I forgot HN is allergic to jokes, obviously this is turning into reddit. I apologize.
I was jokingly complaining about the spelling because the previous names "Brötli" and "Zöpfli" of similar projects were 'properly' spelled. They don't have anything to do with the name either. "Brötli" and "Zöpfli" are basically types of bread.
While Knusperli is a very german way of spelling a swiss german word. Though, it is what you would find in a supermarket.
Yes, too obscure of a joke, sorry :(
Yeah, I should have considered global cultural influences more before posting. Sarcastically joking about deportation is probably a bit too swiss for an international audience to recognize it as such. Let me assure your though, this was an attempt by a swiss person desperately trying to be funny.
Obviously it backfired.
https://wiewowasistgut.com/schnelle-fruehstueck-broetchen-mi... https://www.deal.ch/deals/brot-des-monats-coop-naturaplan-bi... http://fddb.info/db/de/lebensmittel/kleiner_baeckerei-kondit...
(Also Google's Zopfli and Brotli are already missing the ö / ü Umlauts, so maybe improper spelling is intentional.)
People's tastes are subjective, though, so it's good to have options.
[1] Archive.org: http://web.archive.org/web/20141124213159/http://x264dev.mul... [2] Archive.is: http://archive.is/K7jKA
The definitions are this way around because it's the only way to have an opportunity to improve encoding quality over time, if you start by defining how encoding must be done then you lock in bad ideas. Lame for example is far, far better at encoding MPEG audio layer III than the demo encoders shipped when the standard was written, and this is only possible because the standard says how to turn MP3 back into PCM data, not how to encode PCM data as MP3.
Why did you use the pornographic picture for this work related task?
Well the people in the picture don't mind. In fact they're quite happy about the exposure.
Oh well, carry on then.
That being said, I'd really wish people would stop using lossy formats for everything. I can live with it for simple icons and such (although, why not svg?) but photos? come on! Of course, that would have to come with a nice connection for everyone.
Oh and this is definitely going to make for some head scratching for devs who assume image decoding is somehow deterministic. :D
Like that time they stole Jarek Duda ANS and are still trying to patent it fraudulently claiming to have invented it 4 years after Jareks public domain publication?
https://encode.ru/threads/2648-Published-rANS-patent-by-Stor...
It's unclear to me if this method will perform better than those methods.
(Also, come on, it’s 2018, we need to retire Lena)