Skip to main content

dilate

Function dilate 

Source
pub fn dilate<T: PixelComponent, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    element: &StructuringElement,
    iterations: usize,
    border: BorderMode<T, CHANNELS>,
) -> VisionResult<Image<T, CHANNELS>>
Expand description

Dilates each channel independently.