[GRASS-dev] r.neighbors modification

Maciej Sieczka tutey at o2.pl
Tue Nov 14 11:42:45 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 ?

Maciek




More information about the grass-dev mailing list