Skip to main content

grey_closing

Function grey_closing 

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

Greyscale closing (dilation then erosion): removes dark features smaller than the footprint.