Function Index
GrayscaleDilate
GrayscaleDilate[
img
,
s
]
gives the (grayscale) morphological dilation of
img
with structuring element
s
.
GrayscaleDilate
returns an expression of the same dimensions and type as
img
.
The argument
img
may be a list or
ImageData
expression.
GrayscaleDilate
implements the following matrix formulation:
for all i,j such that -M≤i,j≤M and 0≤r,c≤N-1, where
A
is an
N
×
N
image and
B
is a structuring element of dimensions 2
M
+ 1 × 2
M
+ 1.
See also User's Guide
6.4
.
Modified in Version 2.
Example
This loads the package.
In[1]:=
This loads the example image.
In[2]:=
This defines a uniform structuring element.
In[3]:=
This shows the result of closing the example image.
In[4]:=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: