[STATSGRASS] moving-window analysis

Hamish hamish_nospam at yahoo.com
Thu Jun 7 04:49:19 EDT 2007


Carlos wrote:
> 
> Basic moving-window (ie, mean, stddev etc) is easy. The tricky
> question is how to make a best-fit least squares inside that moving
> window? I mean that it has to be a general function, so you can choose
> the size of the window.

just for simple stuff, but within GRASS, you could look at r.neighbors
and r.mfilter.

perhaps you could write a new method to use with r.neighbors?


or use r.mapcalc/r.series to create a map containing the difference
between the original and the r.neighbors smoothed version?


Hamish




More information about the grass-stats mailing list