ResultImage = ErodeImage(Image, StructureElement);
2D matrix of type uint8, uint16, uint32, double or boolean
struct with the components Width, Height and Data, should be generated using CreateStructureElement
matrix of the same size and type as Image
This function applies a morphological erosion filter to an image. This filter expands dark objects and shrinks light objects. Light objects the structuring element does not fit in are removed.