[][src]Function imageproc::morphology::dilate_mut

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

Sets all pixels within distance k of a foreground pixel to white.

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

See the dilate documentation for examples.