Skip to main content

separable_filter

Function separable_filter 

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

Applies horizontal and vertical kernels using an f64 intermediate buffer.