[mmsesum] [Up] [mmsereflect] Structuring Elements

mmsetrans
Translate a structuring element

Synopsis

function Bo = mmsetrans ( Bi , t )

Description

mmsetrans translates a structuring element by a specific value.

Examples

b1 = mmseline(5);
mmseshow(b1)
ans =
     0     0     0     0     1     1     1     1     1
b2 = mmsetrans(b1,[2,-2]);
mmseshow(b2)
ans =
     0     0     0     0     0
     0     0     0     0     0
     0     0     0     0     0
     0     0     0     0     0
     1     1     1     1     1

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
[mmsesum] [Up] [mmsereflect]