[GRASS-dev] r.shrink??

Brad Douglas rez at touchofmadness.com
Tue Aug 22 17:20:02 EDT 2006


On Tue, 2006-08-22 at 11:46 -0700, Michael Barton wrote:
> Can r.grow use negative numbers? Could it be made to do so or can we
> make an r.shrink?
> 
> A standard set of image processing routines, for binary images,
> includes dilate, erode,  outline, and skeletonize. Two other compound
> routines are open (dilate followed by erode) and close (erode followed
> by dilate). GRASS can accomplish some of these processes:
> 
> dilate = r.grow
> outline (sort of) = r.to.vect followed by v.to rast, but a better
> raster version would be nice
> skeletonize = r.thin (iterated)
> 
> But there is nothing to shrink areas (erode in image processing
> parlance). 
> 
> Since GRASS already has such good image processing capabilities
> already, it would be nice to round them out with these standard
> routines. 
> 
> If people think this is a good idea, I can turn this into a wish.

This is very interesting and I guess we don't really have a erode
equivalent anymore (not in CVS...in older modules, yes, IIRC).

Please submit a wish.


-- 
Brad Douglas <rez touchofmadness com>                      KB8UYR
Address: 37.493,-121.924 / WGS84    National Map Corps #TNMC-3785




More information about the grass-dev mailing list