| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
y = mmclose( f, b ) f: Gray-scale (uint8 or uint16) or binary image (logical uint8). b: Structuring element. Default: Elementary cross (mmsecross).y: Gray-scale (uint8 or uint16) or binary image (logical uint8). 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=mmbinary(mmreadgray('blob.tif')); Warning: Converting image from binary uint8 to uint8. bimg=mmbinary(mmreadgray('blob1.tif')); Warning: Converting image from binary uint8 to uint8. b=mmimg2se(bimg); mmshow(f); mmshow(mmclose(f,b)); mmshow(mmclose(f,b),mmgradm(f));
|
f = mmreadgray('form-1.tif'); mmshow(f); y = mmclose(f,mmsedisk(4)); mmshow(y);
|
f = mmreadgray('n2538.tif'); mmshow(f); y = mmclose(f,mmsedisk(3)); mmshow(y);
|

function y=mmclose_equ( f, b ) y = mmero(mmdil(f,b),b);
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||