[GRASS-dev] r.neighbors modification
Glynn Clements
glynn at gclements.plus.com
Thu Nov 23 11:55:20 EST 2006
Martin Wegmann wrote:
> > > I am looking for a way to compute r.neighbors for a ring only and not
> > > for the whole 5x5, 7x7 etc. moving window.
> > > It is something like a 7x7 windows but minus the values in the 5x5
> > > windows.
> > >
> > > traditional way:
> > >
> > > a a a a a
> > > a b b b a
> > > a b x b a
> > > a b b b a
> > > a a a a a
> > >
> > > ring analysis:
> > >
> > > a a a a a
> > > a a
> > > a x a
> > > a a
> > > a a a a a
> >
> > r.mfilter ?
>
> that looks good, but as far as I understood it, it is not possible to conduct
> statistics on this filter (beside divisor), is it?
I don't think that you can compute anything except for sum and mean
using r.mfilter.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list