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

mmsecross - Cross structuring element.


Synopsis
B = mmsecross( r )
Input
r: (radius). Default: 1.
Output
B: Structuring element.
Description
mmsecross creates the structuring element B formed by r successive Minkowski additions of the elementary cross (i.e., the 3x3 cross centered at the origin) with itself. If r=0, B is the unitary set that contains the origin. If r=1, B is the elementary cross itself.
Examples
b1 = mmsecross;
mmseshow(b1)

ans =
     0     1     0
     1     1     1
     0     1     0
b2 = mmsecross(2);
mmseshow(b2)

ans =
     0     0     1     0     0
     0     1     1     1     0
     1     1     1     1     1
     0     1     1     1     0
     0     0     1     0     0
Equation

equation

See Also
mmdil - Dilate an image by a structuring element.
mmfreedom - Control automatic data type conversion.
mmsebox - Create a box structuring element.
mmsedisk - Create a disk or a semi-sphere structuring element.
mmseline - Create a line structuring element.
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