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

mmcloserec - Closing by reconstruction.


Synopsis
y = mmcloserec( f, bdil, bc )
Input
f: Gray-scale (uint8 or uint16) or binary image (logical uint8).
bdil: Structuring element. (dilation). Default: Elementary cross (mmsecross).
bc: Structuring element. ( connectivity). Default: Elementary cross (mmsecross).
Output
y: Gray-scale (uint8 or uint16) or binary image (logical uint8). (same type of f).
Description
mmcloserec creates the image y by a sup-reconstruction ( with the connectivity defined by the structuring element bc) of the image f from its dilation by bdil.
Examples
a = mmreadgray('danaus.tif');
mmshow(a);
b = mmcloserec(a,mmsebox(4)) ;
mmshow(b) ; 
image
(a)
image
(b)
Equation

equation

Algorithm
function y=mmcloserec_equ( f, bdil, bc )
  y = mmsuprec(mmdil(f,bdil),f,bc); 
See Also
mmclose - Morphological closing.
mmfreedom - Control automatic data type conversion.
mmopenrec - Opening by reconstruction.
mmsuprec - Sup-reconstruction.

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