Images acquired by a vision system suffer from degradation that can generally be modelled as a convolution. For example, some images present a camera shake effect (Figure 1) or a blur due to poor focus (Figure 2). The goal of deconvolution is to cancel the effect of a convolution.

Figure 1:An example of motion blur (the parliament of Budapest shot by a camera).

Figure 2:Hubble’s view of Ganymede in 1996.
The degradation phenomenon is modelled as in Figure 3. The observed image is obtained from the “clean” image degraded through convolution with a PSF and, possibly, by a noise (considered to be additive):
Deconvolution aims to estimate a restored image from the observation . We will consider only linear methods, thus deconvolution is implemented by filtering by :

Figure 3:Deconvolution model.
A knowledge about the degradation model (i.e. and ) is necessary to perform deconvolution.
The PSF can be estimated empirically from the observed image itself. For instance, a single point object directly yields . Alternatively, the PSF can be estimated experimentally by reproducing the observation conditions in a laboratory: the image of a point source gives an estimate of . It is also possible to estimate the PSF from a mathematical model of the imagging system. Note finally that certain deconvolution methods estimate the PSF at the same time as : these are refered to as blind deconvolution methods (French: déconvolution myope).
Models for the noise have already been presented in Denoising.
Inverse filter¶
The inverse filter is the simplest deconvolution method.
The degradation model becomes in the Fourier domain:
We obtain by calculating the inverse Fourier transform of the previous expression:
As the noise (and therefore its spectrum ) is unknown, we can approximate the expression of by cancelling in the previous expression. Consequently, the deconvolved image is defined as:
The result of the inverse filter applied on an image is given Figure 4. The result is not usableand yet the observed image is very little blurred with very little noise!
Figure 4:Result of the inverse filter.
The catastrophic result of the inverse filter is due to the fact of approximating the noise to be zero. Indeed, according to the definition of and considering :
This means that the deconvolved image corresponds to with an additional term equals to the inverse Fourier transform of . The PSF being generally a low-pass filter, the values of tend towards 0 for high frequencies . Because is in the denominator, this tends to drastically amplify the high frequencies of the noise, and then the term quickly dominates . This explains the result of Figure 4.
One solution consists in considering only the low frequencies of . This is equivalent to truncating the result given by the inverse filter by cancelling the high frequencies before calculating the inverse Fourier transform. The result of the deconvolution is much more acceptable, as shown by Figure 5, although the result is still far from perfect (there are many variations in intensity around objects, such as tree trunks)...
Figure 5:Result of the truncated inverse filter with very small noise. The truncation is set so that the restored image is visually the best one.
Wiener Filter¶
The image restored by the Wiener filter is given by:
where the Wiener filter is defined as
and is a constant set by the user.
The Wiener filter is typically implemented in the Fourier domain, yielding:
Proof
The Wiener filter, denoted by and Fourier transform , applies to the observation such that:
This filter is established in the statistical framework: the image and the noise are considered to be random variables. They are also assumed to be statistically independent. As a result, the observation and the estimate are also random variables. The calculations are done in the Fourier domain for simplicity, since convolutions become multiplications.
The goal of Wiener filter is to find the image closest to , in the sense of the mean squared error . Thereby :
where is the identity matrix. Expanding the previous expression yields:
where denotes the conjugate of a variable. Since the expectation is linear and because only and are random variables, we can write the previous expression into four terms:
The covariances and are zeros because and are independent. Moreover, and are the power spectral densities of and $ (the power spectral density is the expectation of the square of the modulus of the Fourier transform). The power spectral densities are now denoted:
Then the mean squared error simplifies into:
We look for the filter that minimizes the MSE, or equivalently, that cancels the derivative of MSE:
Finally, the deconvolved image is the inverse Fourier transform of :
We can consider that the power spectral densities and are constant (for , it is necessary to assume white noise). Thus, the expression of the Wiener filter can be written
and the term is replaced by a constant , which becomes the parameter of the method, to be set by the user.
🥳
The result of the Wiener filter is illustrated Figure 6: it is clearly much better than the inverse filter, including its truncated variant!
Figure 6:Result of Wiener filter ( is set so that the estimation is the best in terms of MSE).
Note that where vanishes (typically in high frequencies), the issue of noise amplification observed with the inverse filter is mitigated, as the constant in the denominator prevents the denominator to tends to 0.
Moreover, in the absence of noise, so can be set to zero and the Wiener filter reduces to the inverse filter: