Skip to main content

filter2d_f32

Function filter2d_f32 

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

Applies OpenCV-style correlation and preserves signed/fractional results as f32.