Function Index
GrayscaleClose
GrayscaleClose[
img
,
s
]
gives the (grayscale) morphological closing of
img
with structuring element
s
.
GrayscaleClose
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.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: