The filter represents an optimized version of Erosion filter, which is aimed for grayscale image processing with 3x3 structuring element.
See Erosion filter, which represents generic version of erosion filter supporting custom structuring elements and wider range of image formats.
The filter accepts 8 bpp grayscale images for processing.