[GRASSLIST:3345] RE: r.le.pixel
Eric G. Miller
egm2 at jps.net
Mon Mar 18 21:21:19 EST 2002
On Mon, Mar 18, 2002 at 07:05:04PM -0700, William L. Baker wrote:
> Hi David,
>
> I'm the author of r.le.pixel.
>
> r.le.pixel will leave a null row and
> column when you use a 3x3 window because
> the window starts centered over row 2 and
> column 2. No value is defined for row 1 and
> column 1, since that pixel would not have the
> full 9 pixels. The larger the window, the
> larger the null area along the edge. If you
> feel that a calculation should be done even
> though the windows would not be complete,
> you could add rows or columns as needed outside
> the image. Not sure how to do this in GRASS,
> but it could probably be done.
Just increase the region. Usually that will work, unless r.le.pixel
uses a raster's window rather than the current window (in which case,
you'll have to generate a new raster with the larger window setting).
--
Eric G. Miller <egm2 at jps.net>
More information about the grass-user
mailing list