The Wiener Filter is a classical approach in image restoration, aiming to reduce the degradation caused by factors such as noise and blurring in an image. The method is grounded in the assumption that both the image and the noise are random variables, and the objective is to estimate an uncorrupted image such that the mean square error (MSE) between the original image and the estimate is minimized.
Mathematical Foundation
The error measure is formulated as follows:
Where:
- represents the expected value of the argument.
- is the original image.
- is the estimate of the uncorrupted image.
The Wiener filter leverages this error criterion to optimize the restoration process by incorporating both the degradation function and statistical properties of the noise. The minimum mean square error (MMSE) can be expressed in the frequency domain as:
Here:
- is the degradation function.
- is the complex conjugate of the degradation function.
- is the power spectrum of the uncorrupted image.
- is the power spectrum of the noise.
- is the degraded image in the frequency domain.
This equation demonstrates how the Wiener filter combines the image’s power spectrum with that of the noise to perform optimal filtering.
Signal-to-Noise Ratio (SNR)
One of the most important metrics in evaluating the performance of image restoration techniques, such as the Wiener filter, is the Signal-to-Noise Ratio (SNR). It quantifies the level of the signal (the original image information) compared to the noise level.
The SNR in the frequency domain is defined as:
Where:
- is the Fourier transform of the original (undegraded) image.
- is the Fourier transform of the noise.
This ratio helps in understanding the information content in the image relative to the noise. A higher SNR indicates a clearer image with less noise, while a lower SNR suggests a noisier image.
In the spatial domain, the SNR can be expressed as:
Where:
- is the original image.
- is the restored image.
Mean Square Error (MSE)
Another commonly used metric for image restoration performance is the Mean Square Error (MSE), which measures the average squared difference between the original image and the restored image :
A smaller MSE indicates a better restoration result, meaning that the restored image is closer to the original image.
Wiener Filter for White Noise
When dealing with spectrally white noise (where the power spectrum of the noise is constant), the Wiener filter reduces to a simpler form, as the power spectrum of the noise becomes a constant. In such cases, when the power spectra of the undegraded image are unknown, the Wiener filter is approximated by introducing a constant to all terms of the degradation function:
Here, is chosen interactively based on the visual quality of the result.
Examples and Applications
In Figure 5.28, the advantage of Wiener filtering over direct inverse filtering is evident. The following three images are compared:
- The fully inverse-filtered result from Figure 5.27(a).
- The radially limited inverse filter result from Figure 5.27(c).
- The Wiener filter result.
The comparison reveals that Wiener filtering delivers an image much closer to the original, effectively reducing noise while preserving the structure of the image.
In Figure 5.29, the effect of additive Gaussian noise and motion blur on an image is illustrated. The Wiener filter shows a significant improvement over direct inverse filtering, especially when the noise variance is reduced by multiple orders of magnitude. The text in the images becomes more readable as the Wiener filter removes much of the noise and blur.
Conclusion
The Wiener Filter is a robust technique in image restoration that offers a balance between noise reduction and signal preservation. By minimizing the mean square error, the Wiener filter ensures that the restored image closely approximates the original uncorrupted image. While not perfect, it provides significant improvements over simpler inverse filtering techniques, especially in scenarios where noise characteristics are known or can be approximated.
References
- Gonzalez, R. C., & Woods, R. E. (2018). Digital Image Processing (4th ed.). Pearson.
- Wiener, N. (1949). Extrapolation, Interpolation, and Smoothing of Stationary Time Series. MIT Press.
- Pratt, W. K. (2007). Digital Image Processing: PIKS Scientific Inside (4th ed.). Wiley-Interscience.
- Jain, A. K. (1989). Fundamentals of Digital Image Processing. Prentice-Hall.