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

Binary dilation of a 3D binary image.

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