| [mmseline] [Up] [mmseshow] | Structuring Elements |
| User Feedback |
| B | Structuring Element |
| theta | Double
Default: Degrees of rotation. Available values are multiple of 45 degrees. |
| DIRECTION | String
Default: 'CLOCKWISE' or ' ANTI-CLOCKWISE'. |
| BROT | Structuring Element |
mmserot rotates a structuring element B of an angle theta.
b = mmimg2se([0 0 0; 0 1 1; 0 0 0]);
Warning: converting image from double to binary uint8
mmseshow(b)
ans =
0 1 1
mmseshow(mmserot(b))
ans =
0 0 0
0 1 0
0 0 1
mmseshow(mmserot(b,45,'ANTI-CLOCKWISE'))
ans =
0 0 1
0 1 0
0 0 0



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 |