[GRASSLIST:4887] Re: remove small islands

Sandro Klippel sandroklippel at yahoo.com.br
Sat Nov 20 10:45:39 EST 2004


r.neighbors method=mode

Em Sáb 20 Nov 2004 13:00, Martin Wegmann escreveu:
> 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

-- 
Instituto IGARÉ
http://geocities.yahoo.com.br/institutoigare
e-mail: institutoigare at yahoo.com.br




More information about the grass-user mailing list