This paper presents the binary flattenings of shapes, first as a connected operator suppressing particles or holes, second as an erosion in a particular lattice of shapes. Using this erosion, it is then possible to construct a distance from a shape to another and derive from it an interpolation function between shapes.