Skip to main content

binary_dilation

Function binary_dilation 

Source
pub fn binary_dilation(
    mask: &ArrayRef3<bool>,
    kernel: &ArrayRef3<bool>,
    iterations: usize,
) -> Mask
Expand description

Binary dilation of a 3D binary image.

  • mask - Binary image to be dilated.
  • kernel - Structuring element used for the erosion. Must be of odd length. The center must be true.
  • iterations - The dilation is repeated iterations times.