[mmsereflect] [Up] [mmseunion] Structuring Elements

mmsedil
Dilate one structuring element by another

Synopsis

Bo = mmsedil ( B1 , B2 )

Description

mmsedil dilates an structuring element by another. The main difference between this dilation and mmdil is that the dilation between structuring elements are not bounded, returning another structuring element usually larger than anyone of them. This gives the composition of the two structuring elements by Minkowski addition.

Examples

b1 = mmseline(5)
mmseshow(b1)
array([False, False, False, False,  True,  True,  True,  True,  True], dtype=bool)
b2 = mmsedisk(2)
mmseshow(b2)
array([[False,  True,  True,  True, False],
       [ True,  True,  True,  True,  True],
       [ True,  True,  True,  True,  True],
       [ True,  True,  True,  True,  True],
       [False,  True,  True,  True, False]], dtype=bool)
b3 = mmsedil(b1,b2)
mmseshow(b3)
        
array([[False, False, False, False, False,  True,  True,  True,  True,
         True,  True,  True, False],
       [False, False, False, False,  True,  True,  True,  True,  True,
         True,  True,  True,  True],
       [False, False, False, False,  True,  True,  True,  True,  True,
         True,  True,  True,  True],
       [False, False, False, False,  True,  True,  True,  True,  True,
         True,  True,  True,  True],
       [False, False, False, False, False,  True,  True,  True,  True,
         True,  True,  True, False]], dtype=bool)

Equation

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
mmseunion Union of structuring elements
[mmsereflect] [Up] [mmseunion]