| [mmSuprec] [Up] [mmAreaopen] | Connected Operators |
| User Feedback |
| f | Image [ Gray-scale (uint8 or uint16) or binary image ] |
| a | Double
non negative integer. |
| Bc | Structuring Element
( connectivity). Default: |
| y | Image
Same type of |
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.
Image a = mmReadgray("form-1.tif"); Image b = mmAreaclose(a, 400); mmShow(a); mmShow(b);
![]() |
![]() |
|
| a | b |
Image c = mmReadgray("n2538.tif"); Image d = mmAreaclose(c, 400); mmShow(c); mmShow(d);
![]() |
![]() |
|
| c | d |

The structuring elements allowed are the elementary cross (4-connected) and the elementary box (8-connected).
| [mmSuprec] [Up] [mmAreaopen] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |