Function Index
BinaryClose
BinaryClose[
img
,
s
]
gives the (binary) morphological closing of
img
with structuring element
s
.
BinaryClose
returns an expression of the same dimensions and type as
img
.
The argument
img
may be a list or
ImageData
expression.
A morphological closing operation is a dilation followed by erosion
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 two binary arrays.
In[2]:=
This gives the result of closing
A
with
B
.
In[3]:=
Out[3]//MatrixForm=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: