Skip to main content

morphological_gradient

Function morphological_gradient 

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

The morphological gradient, dilation − erosion: large on edges, zero in flat regions.