<< curvature2d SIP - Scilab Image Processing Toolbox drawline >>

SIP - Scilab Image Processing Toolbox >> SIP - Scilab Image Processing Toolbox > dilate

dilate

Morphological dilation of binary images

Calling Sequence

E = dilate(Img, [SE, center])

Parameters

Img
M x N Binary image to be dilated. (0 for background, 1 for object)
SE
Arbitrary structuring element represented as a binary array. Defaults to M x N Binary dilated image.
center
origin of structuring element. Shold be within image dimensions. Defaults to the center of the SE array.

Parameters

E
M x N Binary dilated image.

Description

Function dilate performs morphological dilation of a binary image Img using SE as the structuring element.

Examples

Img = imread(SIPDIR+'images/tru.jpg');
Img = 1-im2bw(Img, 0.3);
Img = thin(Img);
clf
imshow(Img, 2);

e = dilate(Img);
clf
imshow(e, 2);

SE = eye(10,10);
e = dilate(Img, SE, [1,1]);
clf
imshow(e, 2);

Authors

Bibliography

"Morphological Algorithms", Luc Vincent, in "Mathematical Morphology in Image Processing", Ed. Marcel Dekker, 1993.

Availability

The latest version of the Scilab Image Processing toolbox can be found at

http://siptoolbox.sourceforge.net

See Also


<< curvature2d SIP - Scilab Image Processing Toolbox drawline >>