[GRASS-dev] Re: [GRASS-user] r.neighbour and r.mask

Glynn Clements glynn at gclements.plus.com
Thu Jul 9 14:30:56 EDT 2009


Milton Cezar Ribeiro wrote:

> My feeling is that, mainly when running moving windows, the time to check if
> a central pixel is NULL, set output as null and skip must be (very?) lower
> than read all pixels inside the windows, compute the desired index, save it,
> clean the memory and go to next pixel. Or not?! It is with the developers
> :-)

r.neighbors won't output a null just because the central pixel is
null, only if the entire neighborhood is null.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list