| [mmsedisk] [Up] [mmserot] | Structuring Elements |
| User Feedback |
mmseline creates a structuring element B that is a line segment that has an extremity at the origin, length l and angle theta (0 degrees is east direction, clockwise). If l=0, it generates the origin.
mmseshow(mmseline())
array([False, False, True, True, True], dtype=bool)
b1 = mmseline(4,45)
mmseshow(b1)
array([[False, False, False, False, False],
[False, False, False, False, False],
[False, False, True, False, False],
[False, False, False, True, False],
[False, False, False, False, True]], dtype=bool)
b2 = mmseline(4,-180)
mmseshow(b2)
array([ True, True, True, True, False, False, False], dtype=bool)
a=mmtext('Line')
b=mmdil(a,b1)
mmshow(a)
mmshow(b)
| a | b |

| mmfreedom | Control automatic data type conversion. |
| mmsedisk | Create a disk or a semi-sphere structuring element. |
| mmsebox | Create a box structuring element. |
| mmsecross | Diamond structuring element and elementary 3x3 cross. |
| mmimg2se | Create a structuring element from a pair of images. |
| mmdil | Dilate an image by a structuring element. |
| mmseshow | Display a structuring element as an image. |
| [mmsedisk] [Up] [mmserot] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |