| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
y = mminfrec( f, g, bc ) f: Gray-scale (uint8 or uint16) or binary image (logical uint8). Marker image. g: Gray-scale (uint8 or uint16) or binary image (logical uint8). Conditioning image. bc: Structuring element. Structuring element ( connectivity). Default: Elementary cross (mmsecross).f, g must have the same data type.y: Gray-scale (uint8 or uint16) or binary image (logical uint8). mminfrec creates the image y by an infinite number of recursive iterations (iterations until stability) of the dilation of f by bc conditioned to g. We say the y is the inf-reconstruction of g from the marker f. For algorithms and applications, see [Vin93] .g=mmreadgray('text_128.tif'); binary image f=mmero(g,mmseline(9,90)); y=mminfrec(f,g,mmsebox); mmshow(g); mmshow(f); mmshow(y);
|
g=mmneg(mmreadgray('n2538.tif')); f=mmintersec(g,0); Warning: Converting image from scalar to uint8. f=mmdraw(f,'LINE:40,30,60,30:END'); y30=mmcdil(f,g,mmsebox,30); y=mminfrec(f,g,mmsebox); mmshow(g); mmshow(f); mmshow(y30); mmshow(y);
|

function y=mminfrec_equ( f, g, bc ) n = length(f); y = mmcdil(f,g,bc,n);
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||