Closing
Perform morphological closing on binary or intensity images
Libraries:
Computer Vision Toolbox /
Morphological Operations
Description
The Closing block performs a dilation operation followed by an erosion operation on an intensity or binary image using a predefined neighborhood or structuring element.
To define the structuring element that the block applies to the image, use the
Neighborhood or structuring element parameter. Specify this element by
entering a vector or matrix of 1s and 0s or by using the
strel function.
Below are an input image and the output image after the closing operation, respectively.


This block uses two-dimensional flat structuring elements only.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
More About
References
[1] Soille, Pierre. Morphological Image Analysis. Berlin, Heidelberg: Springer Berlin Heidelberg, 2004. https://doi.org/10.1007/978-3-662-05088-0.
[2] Gonzalez, Rafael C., Richard E. Woods, and Steven L. Eddins. Digital Image Processing Using MATLAB. Third edition. Knoxville: Gatesmark Publishing, 2020.
Extended Capabilities
Version History
Introduced before R2006a

