| It has been suggested that Gaussian blur be merged into this article or section. (Discuss) |
| Linear analog electronic filters |
|---|
Simple filters
|
| edit |
In electronics and signal processing, a Gaussian filter is a filter whose impulse response is a Gaussian function. Gaussian filters are designed to give no overshoot to a step function input while minimizing the rise and fall time. This behavior is closely connected to the fact that the Gaussian filter has the minimum possible group delay. Mathematically, a Gaussian filter modifies the input signal by convolution with a Gaussian function; this transformation is also known as the Weierstrass transform.
Contents |
Definition
The one dimensional Gaussian filter has an impulse response given by
or with the standard deviation as parameter
In two dimensions, it is the product of two such Gaussians, one per direction:
where x is the distance from the origin in the horizontal axis, y is the distance from the origin in the vertical axis, and σ is the standard deviation of the Gaussian distribution.
When applied in two dimensions, this formula produces a surface whose contours are concentric circles with a Gaussian distribution from the center point. Values from this distribution are used to build a convolution matrix which is applied to the original image. Each pixel's new value is set to a weighted average of that pixel's neighborhood. The original pixel's value receives the heaviest weight (having the highest Gaussian value) and neighboring pixels receive smaller weights as their distance to the original pixel increases.
Digital implementation
| This article may require cleanup to meet Wikipedia's quality standards. Please improve this article if you can. (November 2008) |
- Since the Gaussian function decays rapidly, it is often reasonable to truncate the filter window and implement the filter directly for narrow windows; in other cases this introduces significant errors, and one should instead use a different window function; see scale space implementation for details.
- The Gaussian kernel is continuous; most commonly the discrete analog is the sampled Gaussian kernel (sampling points from the continuous Gaussian), but the discrete Gaussian kernel is a better analog and has superior characteristics.
- Since the Fourier transform of the Gaussian function yields a Gaussian function, again, you can apply the Fast Fourier transform to the signal (preferably divided into overlapping windowed blocks), multiply with a Gaussian function and transform back. This is the standard procedure of applying an arbitrary finite impulse response filter, with the only difference that the Fourier transform of the filter window is explicitly known.
- Due to the central limit theorem you can approximate the Gaussian by several runs of a very simple filter like the moving average. The simple moving average corresponds to convolution with the constant B-spline, and e.g. four iterations of a moving average yields a cubic B-spline as filter window which approximates the Gaussian quite well. You can interpret the standard deviation of a filter window as a measure of its size. For standard deviation σ and sample rate f you obtain the frequency
which can be considered the cut-off frequency. A simple moving average corresponds to a uniform probability distribution and thus its filter window with size n has standard deviation
. Thus m moving averages with sizes
yield a standard deviation of
. (Note that standard deviations do not sum up, but variances do.)
Communications Applications
| Please help improve this article by expanding it. Further information might be found on the talk page. (March 2009) |
See also
References
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)






