pub fn erode_mut(image: &mut GrayImage, norm: Norm, k: u8)
Expand description

Sets all pixels within distance k of a background pixel to black.

A pixel is treated as belonging to the foreground if it has non-zero intensity.

See the erode documentation for examples.