[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] SDC Morphology Toolbox V1.1 15Jan02

mmsesum - N-1 iterative Minkowski additions


Synopsis
NB = mmsesum( B, N )
Input
B: Structuring element. Default: Elementary cross (mmsecross).
N: Non-negative integer. Default: 1.
Output
NB: Structuring element.
Description
mmsesum creates the structuring element NB from N - 1 iterative Minkowski additions with the structuring element B.
Examples
b = mmimg2se([1 1 1; 1 1 1; 0 1 0]);
Warning: Converting image from double to binary uint8.
mmseshow(b)

ans =
     1     1     1
     1     1     1
     0     1     0
b3 = mmsesum(b,3);
mmseshow(b3)

ans =
     1     1     1     1     1     1     1
     1     1     1     1     1     1     1
     1     1     1     1     1     1     1
     1     1     1     1     1     1     1
     0     1     1     1     1     1     0
     0     0     1     1     1     0     0
     0     0     0     1     0     0     0
b = mmsedisk(1,'2D','CITY-BLOCK','NON-FLAT');
mmseshow(b)

ans =
     0     1     0
     1     2     1
     0     1     0
mmseshow(mmsesum(b,2))

ans =
     0     0     1     0     0
     0     1     2     1     0
     1     2     3     2     1
     0     1     2     1     0
     0     0     1     0     0
Equation

Flat structuring element:

equation

equation

where the Minkowsky addition is given by

equation

equation

where + denotes the vectorial addition.

Non-flat structuring element:

equation

equation

where

equation

where the Umbra is given by

equation

and the Top surface is given by

equation

See Also
mmclose - Morphological closing.
mmdil - Dilate an image by a structuring element.
mmero - Erode an image by a structuring element.
mmopen - Morphological opening.
mmseshow - Display a structuring element as an image.

[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] Valid XHTML 1.0!
Copyright (c) 1998-2002 by SDC Information Systems