| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
NB = mmsesum( B, N ) B: Structuring element. Default: Elementary cross (mmsecross).N: Non-negative integer. Default: 1.NB: Structuring element. 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 = 0 1 0 1 2 1 0 1 0 mmseshow(mmsesum(b,2)) ans = 0 0 1 0 0 0 1 2 1 0 1 2 3 2 1 0 1 2 1 0 0 0 1 0 0 |









| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||