pub fn erode<T: PixelComponent, const CHANNELS: usize>(
input: ImageView<'_, T, CHANNELS>,
element: &StructuringElement,
iterations: usize,
border: BorderMode<T, CHANNELS>,
) -> VisionResult<Image<T, CHANNELS>>Expand description
Erodes each channel independently.