Basic Morphology

This operator can be used for performing morphological operations on binary as well as on grayscale images.
Operations provided are:

One can choose between different shaped and different sized structuring elements