<< imdilate Morphological Operations imfill >>

IPCV - Image Processing and Computer Vision Toolbox for Scilab >> Morphological Operations > imerode

imerode

Image erosion

Syntax

imout = imerode(imin,se)

Parameters

imin :

Input image

se :

Structure element

imout :

Output image

Description

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

Examples

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

See also

Authors


Report an issue
<< imdilate Morphological Operations imfill >>