StructuredElement Class
class function Matches(_data: StructuredElementData; kernel: TByteMatrix; foreGroundValue: Byte; backGroundValue: Byte): boolean;
This is Matches, a member of class StructuredElement.