<HTML>
<HEAD>
<TITLE>r.shrink??</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Can r.grow use negative numbers? Could it be made to do so or can we make an r.shrink?<BR>
<BR>
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:<BR>
<BR>
dilate = r.grow<BR>
outline (sort of) = r.to.vect followed by v.to rast, but a better raster version would be nice<BR>
skeletonize = r.thin (iterated)<BR>
<BR>
But there is nothing to shrink areas (erode in image processing parlance). <BR>
<BR>
Since GRASS already has such good image processing capabilities already, it would be nice to round them out with these standard routines. <BR>
<BR>
If people think this is a good idea, I can turn this into a wish.<BR>
<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics and Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
</SPAN></FONT>
</BODY>
</HTML>