| [mmsebox] [Up] [mmsedisk] | Structuring Elements |
| User Feedback |
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.
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

| [mmsebox] [Up] [mmsedisk] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |