badge icon

This article was automatically translated from the original Turkish version.

Article

Wiener Filter

Quote

The Wiener filter is an optimization-based filtering technique used in signal processing and image processing. As shown in Figure 1, it was developed to restore a noisy signal or image to its closest possible approximation of the original. This technique is widely applied in fields such as radar, medical imaging, and telecommunications. Its fundamental principle is to estimate the optimal filter coefficients that minimize the mean squared error (MSE) using prior statistical knowledge about the signals in the environment. In a sense, this filter predicts future behavior by examining how the signal behaved in the past. Two mathematical expressions are essential to understanding the Wiener Filter.


  1. Autocorrelation: This measures how similar a signal is to its own past. For example, does a previous sound wave in an audio recording provide information about the next one?
  2. Cross-correlation: This examines the relationship between the clean signal and the corrupted (noisy) signal, attempting to find their similarity.


For the filtering process to be effective, certain statistical properties of the signal and noise must be known in advance.



Figure 1. Denoising of a one-dimensional signal using the Wiener Filter


The Wiener filter is a linear and time-invariant filter used to estimate the original form of a noisy or time-shifted signal. Therefore, although referred to as a filter, it can also be used for prediction. In the design of the Wiener filter, the following properties are assumed for the input signal .


  1. is wide-sense stationary, meaning its variance and expected value are constant and finite, and its autocorrelation function depends only on the time lag.
  2. The expected value of all signals (input, output, and noise) is zero.


The Wiener filter can be designed in different categories: continuous-time versus discrete-time, and causal versus non-causal.


Historical Development

The Wiener Filter was developed by Norbert Wiener in 1942. Wiener designed this method to reduce noise in radar signals. Subsequently, the technique was adopted in electronics and other fields, and over time adapted for digital signal and image processing applications.


Applications

  1. Signal Processing: Used to enhance radar and sonar signals acquired in noisy environments. For example, it is applied in submarine sonar systems for target detection.
  2. Image Processing: Commonly preferred to reduce noise and reveal details in digital images (Figure 2). It is successfully used in medical imaging devices (MRI and CT).
  3. Telecommunications: Preferred to reduce the error rate in data signals corrupted by noise.
  4. Audio Processing: Applied to improve noisy audio recordings and enhance their intelligibility.


Figure 2. Result of image processing using the Wiener Filter

Non-Causal Wiener Filter Design


The system representation is shown in Figure 3. Here, the signal represents the desired output, while denotes the estimated signal. represents the input signal. The MSE is defined as:



is the expected value operator, and are autocorrelation functions, and is the cross-correlation function. As shown in Figure 3, the signal is produced by passing the input signal through the system . This operation is expressed in the discrete-time domain as convolution:



Figure 3:  Linear Time Invariant (LTI), discrete-time, non-causal Wiener filter, .



Based on this information, the autocorrelation and cross-correlation values forming the MSE are computed as follows:




Substituting the computed autocorrelation and cross-correlation values, the MSE is rewritten as:



We now take the first and second derivatives of MSE with respect to the system :




is the autocorrelation function, which, as observed, is in quadratic form and therefore always non-negative. Consequently, MSE is a convex function. Since MSE is convex, the point where its derivative equals zero corresponds to the minimum MSE. Using this property, the minimum MSE condition is derived as:




The above equation can be written in closed form using the convolution operator:



For convenience, we transform into the z-domain. The Z-transforms of the correlation functions in the time domain yield the spectral power functions, .




Thus, the general Wiener filter is designed. The Wiener filter can also be expressed in the Laplace domain:



Thus, filters designed in the Laplace and z-domains can be transformed back into continuous-time and discrete-time domains respectively.


Example

Figure 4: Linear Time Invariant (LTI), discrete-time, non-causal Wiener filter example. All signals are wide-sense stationary and there is no correlation between signal and noise .


In the example shown in Figure 4, there is no correlation between and , and all signals are wide-sense stationary (WSS), with being the Wiener filter. As previously derived, the Wiener filter in the z-domain is:

. The functions and are computed as follows:



Thus, the Wiener filter is obtained as:



It optimizes a noisy signal or image by using the power spectral densities of both the input signal and the noise. The Wiener filter preserves the signal at frequencies with high signal-to-noise ratio (SNR) and suppresses noise at frequencies with low SNR.

Causal (Shannon-Bode) Wiener Filter Design

The approach developed by Shannon and Bode can be used for causal Wiener filter design:


  1. The input signal’s autocorrelation is computed, and its stable poles and zeros, , are separated from its unstable poles and zeros, .
  2. and are transformed into the z-domain or Laplace domain as and respectively.
  3. The inverse of the stable system is taken, , yielding a whitening filter.
  4. A new filter is constructed using the unstable system: .
  5. is transformed into the time domain, and its stable components are isolated. The stable portion is then transformed back into the z-domain or Laplace domain: .
  6. The causal Wiener filter is obtained as: .

Advantages and Limitations

Advantages:

- Provides the optimal result in terms of minimum mean squared error (MSE).

- Can be applied in both analog and digital systems.

- Achieves high success rates when the noise level and the power spectral densities of the signal are known in advance.


Limitations:

- Requires complete knowledge of the statistical properties of the signal and noise.

- Incorrect estimation of the power spectral densities may lead to faulty filtering.

- High computational complexity may increase processing load in real-time applications.

Mathematical Analysis and Implementation

The Wiener filter can be implemented in both the time and frequency domains. Frequency domain implementation is typically performed using the Fast Fourier Transform (FFT). The mathematical steps are as follows:

  1. Compute the Fourier transform of the noisy signal.
  2. Apply weighting using the Wiener filter.
  3. Perform the inverse Fourier transform to return to the time domain.


As an example, for removing salt-and-pepper noise from an image, the following steps are followed:

  1. Compute the power spectrum of the noisy image.
  2. Estimate the power spectral density of the noise.
  3. Apply the Wiener filter to optimize the image.


The Wiener filter is becoming more flexible and dynamic through integration with emerging artificial intelligence and machine learning techniques. In particular, adaptive filtering methods build upon the Wiener filter by learning signal and noise characteristics in real time for optimization. These advancements offer broader application potential in fields such as medicine, autonomous vehicles, and space technology.


Bibliographies

Bode, H. W., and C. E. Shannon. "A Simplified Derivation of Linear Least Square Smoothing and Prediction Theory." Proceedings of the IRE 38, no. 4 (April 1950): 417–425.

Boyd, Stephen, and Lieven Vandenberghe. Convex Optimization. Cambridge: Cambridge University Press, 2004.

Oppenheim, Alan V., and George C. Verghese. Signals, Systems & Inference, Global Edition. Massachusetts: Massachusetts Institute of Technology, p. 502.

Sonka, Milan, Vaclav Hlavac, and Roger Boyle. Image Processing, Analysis, and Machine Vision. 4th ed. Stamford, CT: Cengage Learning, 2014.

Author Information

Avatar
AuthorSelçuk BayraktarJuly 15, 2026 at 5:34 AM

Discussions

No Discussion Added Yet

Start discussion for "Wiener Filter" article

View Discussions

Contents

  • Historical Development

  • Non-Causal Wiener Filter Design

  • Causal (Shannon-Bode) Wiener Filter Design

  • Advantages and Limitations

    • Mathematical Analysis and Implementation