[mmopenrecth] [Up] [mmskelm] Residues

mmopenth
Opening Top Hat.

Synopsis

function y = mmopenth ( f , b )

Input

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

Default: 3x3 elementary cross

structuring element

Output

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

(same type of f).

Description

mmopenth creates the image y by subtracting the morphological opening of f by the structuring element b of f itself.

Examples

a = mmreadgray('keyb.tif');
mmshow(a);
b = mmopenth(a,mmsebox(3));
mmshow(b); 
a b

Equation

Algorithm

function y=mmopenth_equ( f, b)
  y = mmsubm(f,mmopen(f,b); 

See also

mmfreedom Control automatic data type conversion.
mmcloseth Closing Top Hat.
mmopenrecth Open-by-Reconstruction Top-Hat.
mmgradm Morphological gradient.
mmopen Morphological opening.
[mmopenrecth] [Up] [mmskelm]