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

mmopenrec - Opening by reconstruction.


Synopsis
y = mmopenrec( f, bero, bc )
Input
f: Gray-scale (uint8 or uint16) or binary image (logical uint8).
bero: Structuring element. (erosion). 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
mmopenrec creates the image y by an inf-reconstruction of the image f from its erosion by bero, using the connectivity defined by Bc.
Limitation

Binary image:

f=mmreadgray('pieces_bw.tif');
f1=mmopen(f,mmseline(30));
y=mmopenrec(f,mmseline(30),mmsebox);
mmshow(f);
mmshow(f1);
mmshow(y);
image
(f)
image
(f1)
image
(y)
Equation

equation

Algorithm
function y=mmopenrec_equ( f, bero, bc )
 y = mminfrec(mmero(f,bero),f,bc); 
See Also
mmcloserec - Closing by reconstruction.
mmfreedom - Control automatic data type conversion.
mminfrec - Inf-reconstruction.
mmopen - Morphological opening.

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