4.0

4.0 | 1 rating Rate this file 35 downloads (last 30 days) File Size: 2.58 KB File ID: #13641

Gaussian Convolution Filter

by Felix Hebeler

 

12 Jan 2007 (Updated 06 Feb 2007)

No BSD License  

Filter to introduce spatial autocorrelation while keeping original distribution.

Download Now | Watch this File

File Information
Description

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!

MATLAB release MATLAB 7.2 (R2006a)
Other requirements Inline comments follow the steps in the original publication. No requirements, runs fine under Linux and Windows versions.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
10 Oct 2007 Felix Hebeler

Mean and standard deviation of a distribution will only be kept if the mean is 0! If you need a different mean, add it after filtering... (Thanks Gary!)

17 Oct 2008 lmode70 med

merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi merçi

Please login to add a comment or rating.
Updates
15 Jan 2007

Fix Link using HTML to prevent broken layout and correct typos.

15 Jan 2007

Forgot to include a helper function...

23 Jan 2007

Include helper function, add example and notes

06 Feb 2007

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

Tag Activity for this File
Tag Applied By Date/Time
convolution filter Felix Hebeler 22 Oct 2008 08:56:49
raster Felix Hebeler 22 Oct 2008 08:56:49
matrix filter Felix Hebeler 22 Oct 2008 08:56:49
spatial autocorrelation Felix Hebeler 22 Oct 2008 08:56:49

Contact us at files@mathworks.com