pub fn black_tophat( image: &Array2<f64>, footprint: &Array2<bool>, mode: Mode, ) -> Result<Array2<f64>, ErrorsJSL>
The black top-hat, closing − image: the dark features smaller than the footprint.
closing − image