pub fn erode_mut(image: &mut GrayImage, norm: Norm, k: u8)
An in-place version of erode().
erode()
This function does the same operation as erode() but on the &mut image passed rather than cloning an &image. This is faster but you lose the original image.
&mut image
&image