The origin of mathematical morphology stems from the study of the geometry
of porous media in the mid-sixties in France. Porous media are binary in the
sense that a point of a porous medium either belongs to a pore or to the ma-
trix surrounding the pores.