Skip to main content

filter2d

Function filter2d 

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

Applies OpenCV-style correlation and converts the result back to the input dtype.