[GRASS-user] Extract a pixel+neighbor pixels from a raster

Greetings

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)

THanks

Franz

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