Errosion and dilation in AE is implemented in Minimax filter. See settings bellow: