Skip to main content

sobel

Function sobel 

pub fn sobel<T, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    dx: usize,
    dy: usize,
    kernel_size: usize,
    scale: f64,
    delta: f64,
    border: BorderMode<T, CHANNELS>,
) -> Result<Image<f32, CHANNELS>, VisionError>
where T: PixelComponent,
Expand description

Computes a Sobel derivative as signed f32 values.