basic morphology added (erode, dilate, close, open)