imageproc::morphology

Function dilate_mut

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

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.