gaussianfilter
Gaussian filter, named after the Gaussian function, is a widely used linear smoothing filter in signal and image processing. It reduces random noise and minor details while preserving overall structures. In one dimension, the Gaussian kernel is g(x) = (1/√(2π)σ) exp(-x^2/(2σ^2)). In two dimensions, the kernel is G(x,y) = (1/(2πσ^2)) exp(-(x^2+y^2)/(2σ^2)). The parameter σ controls the amount of smoothing: larger values produce stronger blur and shorter high-frequency content.
Discrete implementations form a finite kernel by sampling the Gaussian at integer coordinates and normalizing so
The Gaussian filter acts as a low-pass filter, attenuating high-frequency components without introducing significant artifacts such
Limitations include blur of edges and loss of fine detail, and the result is not easily reversible.