Skip to main content

convolve2d

Function convolve2d 

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

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