next up previous contents index
Next: Digital Filtering of images Up: Fourier Transform Previous: Fourier Transform   Contents   Index


Deconvolution and image reconstruction

Deconvolution is a form of image reconstruction which was made famous by successfully being used on the distorted images from the Hubble space telescope. As with convolution, two images are required. Typically, one of the two images is a point spread function, or psf, which represents the effect of distortion on a single pixel, and the other is the image from which this distortion is to be removed. The two images must be approximately the same size. For example, if your image is blurred by spherical distortion from a bad lens, you would create an image the same size as your blurry test image, but consisting of a single point in the upper left of the image on a black background, subjected to the same blurring effect. If the point spread function is known accurately, after deconvolution the blur will be removed. In effect, a priori knowledge from outside the image is used to remove the distortion.

In principle, any degraded image can be reconstructed by deconvolution if the point spread function is known. If a photo is blurred due to movement in one direction, the point spread function would be a line in the direction of motion whose length depends on the amount of movement. In practice, deconvolution will not work for every image.

This method is far more powerful than using a ``sharpening'' filter, because any arbitrary type of degradation of the image can be eliminated. In practice, noise (especially noise in the psf) or low precision in the FFT will cause inaccuracies in the recovered image. For this reason, FFTs in tnimage are maintained as double-precision numbers. Also, if the spatial frequency of the psf at any point happens to be zero, it will also be impossible to reconstruct that point (since it would require dividing by zero). Adding a little noise to the psf will ensure that all frequencies are non-zero. Thus, sometimes it is necessary to tolerate some noise in the psf to get good image recovery.

Important: The point spread function must be centered at the upper left corner of the image to be used as a psf. Otherwise, a translation effect will also be convoluted into or out of the image.


Exercise: Try deconvoluting fft1.tif and fft2.tif. It should be possible to reconstruct the original image in fft1.tif, which was a small square, despite the complicated point spread function in fft2.tif which renders the distorted image unrecognizable. The more complicated the point spread function, the more difficult it is to recover a noise-free image.


\begin{picture}( 100,100 )(0,30)
\put(0, 40){ \epsfig{file = tnimage_fig4.ps, w...
...t(0,135) { A }\rm \bf\put(90,135) { B } \rm \bf\put(180,135) { C }
\end{picture}

Example of Fourier deconvolution using excessively complicated psf: Deconvolution of image A using psf B produces image C. Although noisy, the original small white square has been partially recovered.

Procedure:

  1. Open the two files (fft1.tif and fft2.tif).
  2. Select ``Process..FFT''.
  3. Set the following:
    Operation = ``Deconvolute 2 images''
    Display = ``Real FFT''
    Image #1 0
    Image #2 1
  4. Click OK.

The first image will be replaced by the original, unconvoluted image, in this case, a small white square.


next up previous contents index
Next: Digital Filtering of images Up: Fourier Transform Previous: Fourier Transform   Contents   Index
Thomas J. Nelson 2004-02-07