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.