imclose
Morphologically close image
Description
Examples
Input Arguments
Output Arguments
Tips
If the dimensionality of the image
I
is greater than the dimensionality of the structuring element, then theimclose
function applies the same morphological closing to all planes along the higher dimensions.You can use this behavior to perform morphological closing on RGB images. Specify a 2-D structuring element for RGB images to operate on each color channel separately.
When you specify a structuring element neighborhood,
imclose
determines the center element ofnhood
byfloor((size(nhood)+1)/2)
.