pub fn binary_erosion<S>(
    mask: &ArrayBase<S, Ix3>,
    kernel: &Kernel3d<'_>,
    iterations: usize
) -> Maskwhere
    S: Data<Elem = bool>,
Expand description

Binary erosion of a 3D binary image.

  • mask - Binary image to be eroded.
  • kernel - Structuring element used for the erosion.
  • iterations - The erosion is repeated iterations times.