# mmedgeoff
Eliminate the objects that hit the image frame.

## Synopsis

y = mmedgeoff( f, Bc = None )

Implemented in Python.

### Input

f | Image Binary image.
Bc | Structuring Element ( connectivity) Default: `None` (3x3 elementary cross)

### 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

## Source Code

    def mmedgeoff(f, Bc=None):
        if Bc is None: Bc = mmsecross()
        edge = mmframe(f)
        y = mmsubm( f, mminfrec(edge, f, Bc))
        return y

## See also

mmfreedom | Control automatic data type conversion.
mmframe | Create a frame image.
mminfrec | Inf-reconstruction.

[`mmsuprec`] [Up] [`mmcbisector`] |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center.