imageproc::morphology
pub fn close_mut(image: &mut GrayImage, norm: Norm, k: u8)
Dilation followed by erosion.
See the close documentation for examples, and the erode and dilate documentation for definitions of dilation and erosion.
close
erode
dilate