Function Index
BinaryOpen
BinaryOpen[
img
,
s
]
gives the (binary) morphological opening of
img
with structuring element
s
.
BinaryOpen
returns an expression of the same dimensions and type as
img
.
The argument
img
may be a list or
ImageData
expression.
Morphological opening is an erosion followed by dilation
A
B = (A
B )
B
where A is the image, B is the structuring element,
denotes dilation, and
denotes erosion.
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: