EDILATE

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
EXAMPLE
REFERENCES
AUTHORS
AVAILABILITY
SEE ALSO

NAME

edilate - euclidean morphological dilation of binary images

SYNOPSIS

Dil = edilate(Img, [radius, form])

PARAMETERS

Img
M x N Binary image to be dilated. (0 for background, 1 for object)
radius
- of circular euclidean structuring element to be used. Defaults to 5.
form
determines the size of Dil. It assumes be one of the following values:
'same'
Dil has the same size as the original image, M x N. The image is assumed to be 0 outside its bounds.
'full'
Dil contains the full dilation, (M+2*radius-1) x (N+2*radius-1). The image is assumed to be 0 outside its bounds.

DESCRIPTION

Function edilate performs exact euclidean dilation of a binary image Img using a circle as the structuring element. It is implemented in C to be fast.

EXAMPLE

Img = gray_imread(SIPDIR+'images/tru.jpg');
Img = 1-im2bw(Img, 0.3);
xbasc()
imshow(Img,2);
e = edilate(Img,7);
xbasc()
imshow(e,2);

REFERENCES

"Shape Analysis and Classification", L. da F. Costa and R. M. Cesar Jr., CRC Press.

AUTHORS

Ricardo Fabbri <rfabbri@if.sc.usp.br>

AVAILABILITY

The latest version of the Scilab Image Processing toolbox can be found at
http://siptoolbox.sourceforge.net

SEE ALSO

dilate, erode, bwdist, thin, skel