Function Index
BinaryErode
BinaryErode[
img
,
s
]
gives the (binary) morphological erosion of
img
with structuring element
s
.
BinaryErode
returns an expression of the same dimensions and type as
img
.
The argument
img
may be a list or
ImageData
expression.
BinaryErode
implements the following matrix formulation
where A is the image, B is the structuring element,
denotes the logical OR operation, and
denotes logical AND.
See also User's Guide
6.3
.
Example
This loads the package.
In[1]:=
This defines the binary arrays.
In[2]:=
This gives the erosion result.
In[3]:=
Out[3]//MatrixForm=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: