In reply to Mr Lopez:
It is theoretically possible, but difficult to do properly. You need to perform a process called "deconvolution", which reverses the blur operation.
To do this you need to get a linear image (no curves or gamma correction), and the exact shape of the motion blur.
Then you perform a couple of fourier transforms, a bunch of complex divisions and a couple more fourier transforms and if you are lucky you will have something approximating a clean image.
As far as I know very few paint programs offer this because:
- you get detail back at the cost of dynamic range/colour precision. It probably looks better blurred.
- you need to know the exact shape of the blur. Get it wrong and you get crazy ringing artifacts everywhere.
- It is complicated, and the other problems make it not worth the effort.
On the other hand it's the basic technique used to fix the images from Hubble when it had a wonky mirror.