[GRASS-user] how to count number of occurrences of a specific category value in the neighborhood of a given pixel

Moritz Lennert mlennert at club.worldonline.be
Wed Nov 23 06:23:59 EST 2011


Hello,

Does anyone see an easy way to count the number of times a specific
category value occurs in a given neighborhood of a central pixel ?

I know I can do this in r.mapcalc going through all the neighboring
pixels, but is another way ?

Moritz



More information about the grass-user mailing list