Show HN: Deconvolution – a Rust image deconvolution and restoration crate

Rust’s blurry photo fixer impressed HN, but the comments instantly asked: why not AI

TLDR: A developer launched a Rust library that can help clean up blurry images, showing before-and-after results that caught Hacker News’ attention. Commenters praised it, but the loudest debate was whether classic fast tools still matter when AI image tools in Python keep stealing the spotlight.

A new Hacker News demo showed off Deconvolution, a Rust tool that tries to rescue blurry photos and turn smudgy motion blur into something much clearer. On paper, it’s a serious image-repair kit: load a picture, tell it what kind of blur happened, and let it work its magic. It supports a whole buffet of restoration tricks, from classic sharpening methods to “blind” modes that try to guess the blur. In plain English: it’s for people who want to un-blur images without leaving the Rust world.

But the real show, as always, was in the comments. One of the strongest reactions came from the “cool, but this is old school” camp. User esafak praised the work, then immediately delivered the spicy twist: these methods are nice, but if you want the really flashy modern stuff, you’d probably drift toward AI tools in Python instead. Ouch. That turned the post from “look at this neat library” into a mini culture clash: fast, clean, practical Rust versus the messy but powerful AI ecosystem.

Then came the classic comment-section side quest: “Any denoising?” dj_axl asked, dropping a link like a helpful friend sliding into the thread with receipts. It’s less a brawl than a familiar Hacker News vibe: admiration mixed with instant feature requests. The mood was half applause, half “great, now add the other thing I wanted yesterday.”

Key Points

  • The article introduces **deconvolution**, a Rust crate for image deconvolution and restoration using known-PSF and blind workflows.
  • The crate includes restoration methods such as inverse filtering, Wiener filtering, Richardson-Lucy variants, regularized methods, and maximum-likelihood-style approaches.
  • It provides PSF and OTF data types, PSF generators, conversion utilities, optical and microscopy models, and support utilities for 2D and 3D workflows.
  • Preprocessing and simulation features include edge tapering, apodization, range normalization, NSR estimation, deterministic blur, noise, and synthetic fixture generation.
  • The article shows installation for version `0.2.0`, optional `image` crate integration, default `rayon` support, and a quick-start example using Gaussian PSF generation with `wiener_with`.

Hottest takes

"Old skool methods at this point" — esafak
"might as well use the richer Python ecosystem" — esafak
"Any denoising?" — dj_axl
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.