Fundamental operations

The basic morphological operations (Erode, Dilate, Open, Close, Top-hat, Skeleton) can be applied on binary images (created by thresholding real images). 

Transform the gray-scale image into a binary image by changing the thresholding value. 

Then select which operation to apply, and the coefficients (0-1) of the kernel by clicking on the buttons.