home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
morpho
/
gclose.
/
gclose.bin
Wrap
Text File
|
1995-12-09
|
869b
|
19 lines
OPERATOR
gclose --- greyscale closing
DESCRIPTION
The gclose operator computes a morphological closing on the greyscale input
image. A closing is a dilation followed by an erosion. The number of
iterations specified by the niterations parameter determines how many times the
dilation and erosion is executed. The greyscale dilation and erosion is slower
than its binary counterpart since a minimum or maximum has to be computed
for each neighborhood in the input image. The kernel parameter allows the user
to specify a vector of integers corresponding to the structuring element to
be applied to the input image. The vector is treated as a binary input
where all non-zero values are considered to be equivalent to 1. For more on
the use of the kernel, consult the documentation or help for the min and max
operators.