[GRASS-user] Extract a pixel+neighbor pixels from a raster
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Wed May 19 08:59:45 EDT 2010
Franz Schiller:
> I need to extract an exact pixel and its neighbor a create a raster only
> with those values.
> Is it possible (in an easy way? :D)
If you have a vector point of interest (or coordinates imported with
v.in.ascii) rasterize it (v.to.rast), edit it (d.rast.edit) to include more
pixels of interest (or use r.grow?) and create a raster map or a MASK
(r.mapcalc).
Something like this I guess...
Nikos
More information about the grass-user
mailing list