| [mmareaopen] [Up] [mmvmax] | 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 |
mmvmin This operator removes connected basins with volume less than v. This function is very similar to mmhmin , but instead of using a depth criterion for the basin, it uses a volume criterion.
a = uint8([
[10, 3, 6, 18, 16, 15, 10],
[10, 9, 6, 18, 6, 7, 10],
[10, 9, 9, 15, 4, 9, 10],
[10, 10, 10, 10, 10, 10, 10]])
print mmvmin(a,10,mmsebox())
[[10 8 8 18 16 15 10] [10 9 8 18 9 9 10] [10 9 9 15 9 9 10] [10 10 10 10 10 10 10]]
f = mmreadgray('n2538.tif')
mmshow(f)
fb = mmvmin(f,10000)
mmshow(fb)
mmshow(mmregmin(fb))
![]() |
![]() |
![]() |
|
| f | fb | mmregmin(fb) |
| mmsebox | Create a box structuring element. |
| mmsecross | Diamond structuring element and elementary 3x3 cross. |
| mmfreedom | Control automatic data type conversion. |
| mmhmin | Remove basins with contrast less than h. |
| mmvdome | Obsolete, use mmvmax. |
| mmareaclose | Area closing |
| mmregmin | Regional Minimum (with generalized dynamics). |
| [mmareaopen] [Up] [mmvmax] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |