Function Index
BinaryDilate
BinaryDilate[
img
,
s
]
gives the (binary) morphological dilation of
img
with structuring element
s
.
The argument
img
may be a list or
ImageData
expression.
BinaryDilate
returns an expression of the same dimensions and type as
img
.
BinaryDilate
implements the following matrix formulation of dilation
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 dilation result.
In[3]:=
Out[3]//MatrixForm=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: