Skip to main content

grey_erosion

Function grey_erosion 

Source
pub fn grey_erosion(
    image: &Array2<f64>,
    footprint: &Array2<bool>,
    mode: Mode,
) -> Result<Array2<f64>, ErrorsJSL>
Expand description

Greyscale erosion: the minimum over the footprint centred on each pixel (SciPy’s grey_erosion with a flat footprint; the default mode there is Reflect).