[GRASS-dev] shrink region to non-null pixels
Hamish
hamish_b at yahoo.com
Tue Apr 20 03:20:04 EDT 2010
Yann wrote:
> After extracting features from an image, I would like to
> shrink the computational region only to the smallest area
> including non-null pixels.
>
> is there a module made for that, or should it be created?
g.region zoom=
it will start shrinking from the current region, run g.region rast=
first if you want to trim a map instead of zoom in on a feature
within it.
Using a reclass map with this can be very effective for isolating
areas containing single categories!
Hamish
More information about the grass-dev
mailing list