<< imcreatese Morphological Operations imerode >>

IPCV >> Morphological Operations > imdilate

imdilate

Image dilation

Syntax

imout = imdilate(imin,se)

Parameters

imin :

Input image

se :

Structure element

imout :

Output image

Description

The function dilates the source image using the specified structuring element that determines the shape of a pixel neighborhood over which the maximum is taken.

Examples

a = zeros(10,10);
a(4:7,4:7) = 1;
se = imcreatese('rect',3,3);
b = imdilate(a,se);
disp(b);

See also

Authors


Report an issue
<< imcreatese Morphological Operations imerode >>