added erosion and gradient: dilation - erosion