BINARY MORPHOLOGY
The binary morphology operators take as input a binarized image and make improvement before the labeling phase
The idea is to slide a small kernel called structuring element
DILATION
The output image is obtained by sliding the kernel on each black element
EROSION
The output image is obtained by sliding the kernel on the all image leaving only the black points that contain the kernel
OPENING AND CLOSING
Erosion followed by dilation is called opening
Dilation followed by erosion is called closing