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

mmsebox - Create a box structuring element.


Synopsis
B = mmsebox( r )
Input
r: Non-negative integer. Radius. Default: 1.
Output
B: Structuring element.
Description
mmsebox creates the structuring element B formed by r successive Minkowski additions of the elementary square (i.e., the 3x3 square 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 square itself.
Examples
b1 = mmsebox;
mmseshow(b1)

ans =
     1     1     1
     1     1     1
     1     1     1
b2 = mmsebox(2);
mmseshow(b2)

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

equation

See Also
mmdil - Dilate an image by a structuring element.
mmfreedom - Control automatic data type conversion.
mmsecross - Cross 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