| [mmclose] [Up] [mmdist] | Morphological Filters |
| User Feedback |
| f | Image Gray-scale (uint8 or uint16) or binary image |
| b | Structuring Element
Default: |
| y | Image |
mmopen creates the image y by the morphological opening of the image f by the structuring element b. In the binary case, the opening by the structuring element B may be interpreted as the union of translations of B included in f. In the gray-scale case, there is a similar interpretation taking the functions umbra.
f=mmbinary(mmreadgray('blob.tif'));
bimg=mmbinary(mmreadgray('blob1.tif'));
b=mmimg2se(bimg);
mmshow(f);
mmshow(mmopen(f,b));
mmshow(mmopen(f,b),mmgradm(f));
![]() |
![]() |
|
| f | mmopen(f,b) |
![]() |
|
| mmopen(f,b),mmgradm(f) |

function y=mmopen_equ( f, b ) y = mmdil(mmero(f,b),b);
| mmclose | Morphological closing. |
| mmfreedom | Control automatic data type conversion. |
| mmimg2se | Create a structuring element from a pair of images. |
| mmsebox | Create a box structuring element. |
| mmsecross | Diamond structuring element and elementary 3x3 cross. |
| mmareaopen | Area opening |
| mmsesum | N-1 iterative Minkowski additions |
| [mmclose] [Up] [mmdist] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |