[mmsedil] [Up] [mmcdil] Structuring Elements

mmseunion
Union of structuring elements

Synopsis

function B = mmseunion ( B1 , B2 )

Description

mmseunion creates a structuring element from the union of two structuring elements.

Examples

b1 = mmseline(5);
mmseshow(b1)
ans =
     0     0     0     0     1     1     1     1     1
b2 = mmsedisk(3);
mmseshow(b2)
ans =
     0     0     1     1     1     0     0
     0     1     1     1     1     1     0
     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
b3 = mmseunion(b1,b2);
mmseshow(b3)
ans =
     0     0     0     1     1     1     0     0     0
     0     0     1     1     1     1     1     0     0
     0     1     1     1     1     1     1     1     0
     0     1     1     1     1     1     1     1     1
     0     1     1     1     1     1     1     1     0
     0     0     1     1     1     1     1     0     0
     0     0     0     1     1     1     0     0     0

Equation

Flat structuring element:
Non-flat structuring element:

See also

mmdil Dilate an image by a structuring element.
mmseshow Display a structuring element as an image.
mmero Erode an image by a structuring element.
mmsesum N-1 iterative Minkowski additions
mmsetrans Translate a structuring element
[mmsedil] [Up] [mmcdil]