Erode image
erodes the grayscale, binary, or packed binary image J
= imerode(I
,SE
)I
,
returning the eroded image, J
. SE
is a
structuring element object or array of structuring element objects, returned by the
strel
or offsetstrel
functions.
imerode
automatically takes advantage of the decomposition of a
structuring element object (if a decomposition exists). Also, when performing binary
erosion with a structuring element object that has a decomposition,
imerode
automatically uses binary image packing to speed up the
erosion.
Erosion using bit packing is described in [3].
[1] Gonzalez, R. C., R. E. Woods, and S. L. Eddins, Digital Image Processing Using MATLAB, Gatesmark Publishing, 2009.
[2] Haralick, Robert M., and Linda G. Shapiro, Computer and Robot Vision, Vol. I, Addison-Wesley, 1992, pp. 158-205.
[3] van den Boomgard, R, and R. van Balen, "Methods for Fast Morphological Image Transforms Using Bitmapped Images," Computer Vision, Graphics, and Image Processing: Graphical Models and Image Processing, Vol. 54, Number 3, pp. 254-258, May 1992.