| [mmcwatershed] [Up] [mmswatershed] | Thinning And Thickening |
| User Feedback |
| f | Image Binary image |
| Bc | Structuring Element
Connectivity for the distance measurement. Default: |
| LINEREG | String
'LINES' or 'REGIONS'. Default: |
| METRIC | String
'EUCLIDEAN' if specified. Default: |
| y | Image Gray-scale (uint8 or uint16) or binary image |
mmskiz creates the image y by detecting the lines which are equidistant to two or more connected components of f, according to the connectivity defined by Bc. Depending on with the flag LINEREG, y will be a binary image with the skiz lines or a labeled image representing the zone of influence regions. When the connected objects of f are single points, the skiz is the Voronoi diagram.
f=mmreadgray('blob2.tif')
y=mmskiz(f,mmsebox(),'LINES','EUCLIDEAN')
mmshow(f,y)
![]() |
|
| f,y |
f=mmbinary(zeros((100,100)))
Warning: downcasting image from double to int32 (may lose precision)
f[30,25],f[20,75],f[50,50],f[70,30],f[80,70] = 1,1,1,1,1
y = mmskiz(f,mmsebox(),'LINES','EUCLIDEAN')
mmshow(f,y)
![]() |
|
| f,y |
For Euclidean metric, please see mmdist .
| mmdist | Distance transform. |
| mmcwatershed | Detection of watershed from markers. |
| [mmcwatershed] [Up] [mmswatershed] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |