added erosion and dilation