[GRASSLIST:4886] remove small islands

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Sat Nov 20 10:00:58 EST 2004


hello,

I tried to remove islands in a classified raster image which are smaller than 
1 -2 pixel. 

Is there any command which removes small islands and assigns the prevailing 
value of the surrounding area to this island? 

r.neighbors might be what I want if there would a method=dominant/prevailing 
value, method=average just smoothed the image. 

any ideas? thanks in advance, Martin




More information about the grass-user mailing list