[mmsetrans] [Up] [mmsedil] Structuring Elements

mmsereflect
Reflect a structuring element

Synopsis

function Bo = mmsereflect ( Bi )

Description

mmsereflect reflects a structuring element by rotating it 180 degrees.

Examples

b1 = mmseline(5,30);
mmseshow(b1)
ans =
     0     0     0     0     0     0     0
     0     0     0     0     0     0     0
     0     0     0     1     0     0     0
     0     0     0     0     1     1     0
     0     0     0     0     0     0     1
b2 = mmsereflect(b1);
mmseshow(b2)
ans =
     1     0     0     0     0     0     0
     0     1     1     0     0     0     0
     0     0     0     1     0     0     0
     0     0     0     0     0     0     0
     0     0     0     0     0     0     0

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
[mmsetrans] [Up] [mmsedil]