| [mmasf] [Up] [mmopen] | Morphological Filters |
| User Feedback |
| f | Image Gray-scale (uint8 or uint16) or binary image |
| b | Structuring Element
Default: |
| y | Image |
mmclose creates the image y by the morphological closing of the image f by the structuring element b. In the binary case, the closing by a structuring element B may be interpreted as the intersection of all the binary images that contain the image f and have a hole equal to a translation of B. In the gray-scale case, there is a similar interpretation taking the functions umbra.
f=mmreadgray('blob.tif');
bimg=mmreadgray('blob1.tif');
b=mmimg2se(bimg);
mmshow(f);
mmshow(mmclose(f,b));
mmshow(mmclose(f,b),mmgradm(f));
![]() |
![]() |
|
| f | mmclose(f,b) |
![]() |
|
| mmclose(f,b),mmgradm(f) |

function y=mmclose_equ( f, b ) y = mmero(mmdil(f,b),b);
| [mmasf] [Up] [mmopen] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |