| [mmseshow] [Up] [mmsetrans] | Structuring Elements |
| User Feedback |
| B | Structuring Element
Default: |
| N | Double Non-negative integer.
Default: |
mmsesum creates the structuring element NB from N - 1 iterative Minkowski additions with the structuring element B.
b = mmimg2se([1 1 1; 1 1 1; 0 1 0]);
Warning: converting image from double to binary uint8
mmseshow(b)
ans =
1 1 1
1 1 1
0 1 0
b3 = mmsesum(b,3);
mmseshow(b3)
ans =
1 1 1 1 1 1 1
1 1 1 1 1 1 1
1 1 1 1 1 1 1
1 1 1 1 1 1 1
0 1 1 1 1 1 0
0 0 1 1 1 0 0
0 0 0 1 0 0 0
b = mmsedisk(1,'2D','CITY-BLOCK','NON-FLAT');
mmseshow(b)
ans =
-2147483647 0 -2147483647
0 1 0
-2147483647 0 -2147483647
mmseshow(mmsesum(b,2))
ans =
-2147483647 -2147483647 0 -2147483647 -2147483647
-2147483647 0 1 0 -2147483647
0 1 2 1 0
-2147483647 0 1 0 -2147483647
-2147483647 -2147483647 0 -2147483647 -2147483647


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