[][src]Function imageproc::morphology::erode_mut

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

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.