Morphological image processing uses set theory and operations like dilation and erosion to extract image components and filter images. Dilation expands objects in an image while erosion shrinks them. Opening eliminates small objects and smooths contours, performed by erosion followed by dilation. Closing fills small holes and connects nearby objects, done by dilation followed by erosion. These operations use a structuring element and its translations to modify pixels in the input image.