<< imblobprop Morphological Operations imcreatese >>

IPCV >> Morphological Operations > imclose

imclose

Image closing

Syntax

imout = imclose(imin,se)

Parameters

imin :

Input image

se :

Structure element

imout :

Output image

Description

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

Examples

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

See also

Authors


Report an issue
<< imblobprop Morphological Operations imcreatese >>