[mmasfrec] [Up] [mminfrec] Connected Operators

mmcloserec
Closing by reconstruction.

Synopsis

y = mmcloserec ( f , bdil = NullStrel, bc = NullStrel )

Input

f Image Gray-scale (uint8 or uint16) or binary image

bdil Structuring Element

(dilation).

Default: NullStrel (3x3 elementary cross)

bc Structuring Element

( connectivity).

Default: NullStrel (3x3 elementary cross)

Output

y Image

Same type of f.

Description

mmcloserec creates the image y by a sup-reconstruction ( with the connectivity defined by the structuring element bc) of the image f from its dilation by bdil.

Examples

a = mmreadgray('danaus.tif')
mmshow(a)
b = mmcloserec(a,mmsebox(4))
mmshow(b)
a b

Equation

See also

mmfreedom Control automatic data type conversion.
mmopenrec Opening by reconstruction.
mmsuprec Sup-reconstruction.
mmclose Morphological closing.
[mmasfrec] [Up] [mminfrec]