Erode a 3D Volume

Apply a morphological erosion to a 3D volume.