HOW TO – Remove shake and motion blur from photos

Craft & Design

Jason @ HACKSZINE writes –

It’s a real drag when you think you’ve taken a great picture, only to load it up in photoshop and discover that your hands weren’t as steady as you thought they were. Depending on the magnitude of your error, chances are you can correct most small camera bumps or pans using a deconvolution filter. The particular technique used depends on which package you use, but they are all built around manipulating the image in the frequency domain to reduce the photo’s linear blurring.

Nathan Willis dissected three applications for removing the effects of camera movement from your photos. Two of them, Refocus and Iterative Refocus, are open source Gimp plugins. The third, Unshake, is a closed source Java application that is capable of producing high-quality results with little user effort (though your CPU will be hurting for a minute or two).

The above photo is from the Unshake site. It seems to work well for predominately straight-line blurs over the range of 8 pixels or less. I haven’t tried the two Gimp plugins, but I have a feeling the Iterative Refocus package could produce the best results given enough tweaking of the setting.

It’s all Fast Fourier Transforms and way over my head, but it works (and frankly, if it was good enough for the Hubble, it’s good enough for me).

HOW TO – Remove shake and motion blur from photos – Link.


  • Unshaking and refocusing your photos – Link
  • Unshake – Link
  • Refocus – Link
  • Iterative Refocus – Link
Discuss this article with the rest of the community on our Discord server!

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).