Morphological Transformations in computer vision

Morphological Transformations apply on image shape. It will apply in binary images.
There are various types of morphological transformation: Erosion, Dilation, Opening, Closing, Gradient, Tophat, Blackhat