Mathematical Morphology for Color Images: An Image-Dependent Approach
Figure 8
Dragon image erosion (a/e), dilation (b/f), opening (c/g), and closing (d/h) with a disk of radius 3 pixels. Method of cube with other images in the RGB (a to d) and (e to h) color spaces, using Euclidean distance.