Skip to main content

convolve2d

Function convolve2d 

pub fn convolve2d<T, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    kernel: &Kernel2D,
    delta: f64,
    border: BorderMode<T, CHANNELS>,
) -> Result<Image<T, CHANNELS>, VisionError>
where T: PixelComponent,
Expand description

Applies true convolution by reversing the supplied kernel around its anchor.