| [mmseline] [Up] [mmseshow] | Structuring Elements |
| User Feedback |
| B | Structuring Element |
| theta | Double
Degrees of rotation. Available values are multiple of 45 degrees. Default: |
| DIRECTION | String
'CLOCKWISE' or ' ANTI-CLOCKWISE'. Default: |
| BROT | Structuring Element |
mmserot rotates a structuring element B of an angle theta.
b = mmimg2se(mmbinary([[0, 0, 0], [0, 1, 1], [0, 0, 0]]));
mmseshow(b)
array([False, True, True], dtype=bool)
mmseshow(mmserot(b))
array([[False, False, False],
[False, True, False],
[False, False, True]], dtype=bool)
mmseshow(mmserot(b,45,'ANTI-CLOCKWISE'))
array([[False, False, True],
[False, True, False],
[False, False, False]], dtype=bool)



Only 2-D structuring elements can be rotated. The rotation angles allowed are multiples of 45 degrees.
| [mmseline] [Up] [mmseshow] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |