Morphological erosion of binary images
E = erode(Img, [SE, center])
Function erode performs morphological erosion of a binary image Img using SE as the structuring element.
initial_dir = PWD; chdir (SIPDIR + 'images'); Img = gray_imread('disks2.bmp'); imshow(Img,2); Img = 1-Img; SE = ones(10,10); e = erode(Img, SE); clf imshow(e ,2); chdir(initial_dir);
http://siptoolbox.sourceforge.net