| [mmvmin] [Up] [mmhmax] | Connected Operators |
| User Feedback |
| f | Image Gray-scale (uint8 or uint16) image |
| v | Double
Volume parameter. Default: |
| Bc | Structuring Element
Structuring element (connectivity). Default: |
| y | Image Gray-scale (uint8 or uint16) or binary image |
mmvmax This operator removes connected domes with volume less than v. This function is very similar to mmhmax , but instead of using a gray scale criterion (contrast) for the dome, it uses a volume criterion.
a = uint8([
[4, 3, 6, 1, 3, 5, 2],
[2, 9, 6, 1, 6, 7, 3],
[8, 9, 3, 2, 4, 9, 4],
[3, 1, 2, 1, 2, 4, 2]])
print mmvmax(a,10,mmsebox())
[[4 3 6 1 3 5 2] [2 6 6 1 5 5 3] [6 6 3 2 4 5 4] [3 1 2 1 2 4 2]]
f = mmreadgray('astablet.tif')
mmshow(f)
fb = mmvmax(f,80000)
mmshow(fb)
mmshow(mmregmax(fb))
![]() |
![]() |
|
| f | fb |
![]() |
|
| mmregmax(fb) |
| [mmvmin] [Up] [mmhmax] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |