[mmhmin] [Up] [mmcbisector] Residues

mmedgeoff
Eliminate the objects that hit the image frame.

Synopsis

function y = mmedgeoff ( f , Bc )

Input

f Image Binary image
Bc Structuring Element

Default: 3x3 elementary cross

( connectivity)

Output

y Image Binary image

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=mmreadgray('form-1.tif');
b=mmedgeoff(a);
mmshow(a);
mmshow(b);
a b

Equation

Algorithm

function y=mmedgeoff_equ(f, bc)
  edge = mmframe(f);
  y = mmsubm(f,mminfrec(edge,f,bc)); 

See also

mmfreedom Control automatic data type conversion.
mmframe Create a frame image.
mminfrec Inf-reconstruction.
[mmhmin] [Up] [mmcbisector]