Function ndarray_ndimage::binary_dilation
source · pub fn binary_dilation<SM, SK>(
mask: &ArrayBase<SM, Ix3>,
kernel: &ArrayBase<SK, Ix3>,
iterations: usize
) -> Maskwhere
SM: Data<Elem = bool>,
SK: Data<Elem = bool>,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 betrue.iterations- The dilation is repeated iterations times.