| [mmskelm] [Up] [mmendpoints] | Residues |
| User Feedback |
| f | Image Gray-scale (uint8 or uint16) or binary image |
| B | Structuring Element
Default: |
| y | Image Binary image |
mmskelmrec reconstructs the valued morphological skeleton to recover the original image.
a=mmneg(mmframe(mmbinary(ones(7,9))))
Warning: converting image from double to int32
a =
0 0 0 0 0 0 0 0 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 0 0 0 0 0 0 0 0
b=mmskelm(a,mmsecross,'value')
b =
0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 1 0
0 0 2 0 0 0 2 0 0
0 0 0 3 3 3 0 0 0
0 0 2 0 0 0 2 0 0
0 1 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0
c=mmskelmrec(b,mmsecross)
c =
0 0 0 0 0 0 0 0 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 0 0 0 0 0 0 0 0
| [mmskelm] [Up] [mmendpoints] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |