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

mmedgeoff - Eliminate the objects that hit the image frame.


Synopsis
y = mmedgeoff( f, Bc )
Input
f: Binary image (logical uint8).
Bc: Structuring element. ( connectivity) Default: Elementary cross (mmsecross).
Output
y: Binary image (logical uint8).
Description
mmedgeoff creates the binary image y by eliminating the objects (connected components) of the binary image f that hit the image frame, according to the connectivity defined by the structuring element Bc.
Examples
a=mmbinary(mmreadgray('form-1.tif'));
Warning: Converting image from binary uint8 to uint8.
b=mmedgeoff(a);
mmshow(a);
mmshow(b);
image
(a)
image
(b)
Equation

equation

Algorithm
function y=mmedgeoff_equ(f, bc)
  edge = mmframe(f);
  y = mmsubm(f,mminfrec(edge,f,bc)); 
See Also
mmframe - Create a frame image.
mmfreedom - Control automatic data type conversion.
mminfrec - Inf-reconstruction.

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