I. Introduction
Morphological image analysis or, more generally, mathematical morphology (MM) stems from the study of the geometry of binary porous media such as sandstones. They are binary in the sense that they are made up of two phases: the pores embedded in a matrix. This led Matheron and Serra to introduce in 1967 a set formalism for analyzing binary images [1] [2]–[4]. Indeed, one may consider the matrix as the set of object points and the pores as the complement of this set. Another set of carefully selected shape and size is then defined and translated over the image. This set is called the structuring element because it acts as a probe for extracting or suppressing specific structures of the image objects. The extraction or suppression is carried out by checking, for each position of the structuring element, whether it fits or not within the image objects. Hence, morphological operations are grounded on set operators such as union, intersection, complementation, and translation.