Skip to main content

erode_mut

Function erode_mut 

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

An in-place version of 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.