Haugh Transformation, Erode, Dilate, Open, Close