imerode
Erode image
Description
Examples
Input Arguments
Output Arguments
More About
Tips
If the dimensionality of the image
Iis greater than the dimensionality of the structuring element, then theimerodefunction applies the same morphological erosion to all planes along the higher dimensions.You can use this behavior to perform morphological erosion 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,
imerodedetermines the center element ofnhoodbyfloor((size(nhood)+1)/2).imerodeautomatically takes advantage of the decomposition of a structuring element object (if it exists). Also, when performing binary erosion with a structuring element object that has a decomposition,imerodeautomatically uses binary image packing to speed up the erosion [3].
References
[1]
[2]
[3]


