Skip to main content

binary_closing

Function binary_closing 

Source
pub fn binary_closing(
    image: &Array2<bool>,
    structure: &Array2<bool>,
    iterations: usize,
) -> Result<Array2<bool>, ErrorsJSL>
Expand description

Closing: dilation then erosion. Fills gaps and holes smaller than the element.