Skip to main content

median_blur

Function median_blur 

pub fn median_blur<T, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    kernel_size: usize,
    border: BorderMode<T, CHANNELS>,
) -> Result<Image<T, CHANNELS>, VisionError>
where T: PixelComponent,
Expand description

Applies a per-channel median filter with an odd square aperture.