[mmcbisector] [Up] [mmcloseth] Residues

mmcloserecth
Close-by-Reconstruction Top-Hat.

Synopsis

function y = mmcloserecth ( f , bdil , bc )

Input

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

Default: 3x3 elementary cross

(dilation)

bc Structuring Element

Default: 3x3 elementary cross

( connectivity)

Output

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

Description

mmcloserecth creates the image y by subtracting the image f of its closing by reconstruction, defined by the structuring elements bc and bdil.

Examples

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

Equation

Algorithm

function y=mmcloserecth_equ( f, bdil, bc)
  y = mmsubm(mmcloserec(f, bdil, bc),f); 

See also

mmfreedom Control automatic data type conversion.
mmopenrecth Open-by-Reconstruction Top-Hat.
mmcloseth Closing Top Hat.
mmsuprec Sup-reconstruction.
mmclose Morphological closing.
[mmcbisector] [Up] [mmcloseth]