<< imlabel Morphological Operations imtophat >>

IPCV >> Morphological Operations > imopen

imopen

Image opening

Syntax

imout = imopen(imin,se)

Parameters

imin :

Input image

se :

Structure element

imout :

Output image

Description

The function perform opening operation on the source image using the specified structuring element. This operation is same as by the erosion of an image followed by a dilation. Useful for removing small objects (it is assumed that the objects are bright on a dark foreground)

Examples

S = imread(fullpath(getIPCVpath() + "/images/morpex.png"));
se = imcreatese('ellipse',9,9);
S2 = imopen(S,se);
imshow(S2);

See also

Authors


Report an issue
<< imlabel Morphological Operations imtophat >>