Skip to main content

separable_filter

Function separable_filter 

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

Applies horizontal and vertical kernels using an f64 intermediate buffer.