Skip to main content

filter2d_f32

Function filter2d_f32 

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

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