Gaussian Convolution Filter

Filter to introduce spatial autocorrelation while keeping original distribution.
6.8K Downloads
Updated 6 Feb 2007

No License

Simple script to apply a gaussian convolution filter to a matrix (e.g. of white noise) to introduce spatial correlation while (generally) preserving the original distribution .
Based on the approach of spatial moving averages according to Oksanen and Sarjakoski 2005: Error propagation analysis of DEM-based drainage basin delineation. International Journal of Remote Sensing 26 (14), 3085-3102
DOI:10.1080/01431160500057947

Note: Distribution is not preserved _exactly_. Approach is valid for equidistant matrices of values that are the result of a gaussian process. Please read the help/inline comments!

Plz give feedback or report bugs in the comments section!

Cite As

Felix Hebeler (2026). Gaussian Convolution Filter (https://se.mathworks.com/matlabcentral/fileexchange/13641-gaussian-convolution-filter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

Delete Link in Description, see if MLint works now...