[mmgradm] [Up] [mmopenth] Residues

mmopenrecth
Open-by-Reconstruction Top-Hat.

Synopsis

function y = mmopenrecth ( f , bero , bc )

Input

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

Default: 3x3 elementary cross

(erosion)

bc Structuring Element

Default: 3x3 elementary cross

( connectivity)

Output

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

(same type of f).

Description

mmopenrecth creates the image y by subtracting the open by reconstruction of f, defined by the structuring elements bero e bc, of f itself.

Examples

a = mmreadgray('keyb.tif');
mmshow(a);
b = mmopenrecth(a,mmsebox(4));
mmshow(b); 
a b

Equation

Algorithm

function y=mmopenrecth_equ( f, bero, bc)
  y = mmsubm(f,mmopenrec(f, bero, bc)); 

See also

mmfreedom Control automatic data type conversion.
mmopenth Opening Top Hat.
mmcloserecth Close-by-Reconstruction Top-Hat.
mminfrec Inf-reconstruction.
mmopen Morphological opening.
[mmgradm] [Up] [mmopenth]