| [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()
print mmseshow(b1)
[[False True False] [ True True True] [False True False]]
b2 = mmsecross(2)
print mmseshow(b2)
[[False False True False False] [False True True True False] [ True True True True True] [False True True True False] [False False True False False]]

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