[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] SDC Morphology Toolbox V1.1 15Jan02

mmareaclose - Area closing


Synopsis
y = mmareaclose( f, a, Bc )
Input
f: Gray-scale (uint8 or uint16) or binary image (logical uint8).
a: non negative integer.
Bc: Structuring element. ( connectivity). Default: Elementary cross (mmsecross).
Output
y: Gray-scale (uint8 or uint16) or binary image (logical uint8).
Description
mmareaclose removes any pore (i.e., background connected component) with area less than a of a binary image f. The connectivity is given by the structuring element Bc. This operator is generalized to gray-scale images by applying the binary operator successively on slices of f taken from higher threshold levels to lower threshold levels.
Limitation
The structuring elements allowed are the elementary cross (4-connected) and the elementary box (8-connected).
Examples

Binary image:

a=mmreadgray('form-1.tif');
b=mmareaclose(a,400);
mmshow(a);
mmshow(b);
image
(a)
image
(b)

Gray-scale image:

a=mmreadgray('n2538.tif');
b=mmareaclose(a,400);
mmshow(a);
mmshow(b);
image
(a)
image
(b)
Equation

equation

See Also
mmareaopen - Area opening.
mmclohole - Close holes of binary and gray-scale images.
mmfreedom - Control automatic data type conversion.
mmlabel - Label a binary image.
mmregmin - Regional Minimum (with generalized dynamics).
mmsebox - Create a box structuring element.
mmsecross - Cross structuring element.

[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] Valid XHTML 1.0!
Copyright (c) 1998-2002 by SDC Information Systems