Skip to main content

box_blur_gpu

Function box_blur_gpu 

Source
pub fn box_blur_gpu(
    runtime: &WgpuRuntime,
    source: &GpuImage,
    kernel_width: u32,
    kernel_height: u32,
    border: GpuImageBorder,
) -> SpatialResult<GpuImage>
Expand description

Applies a square/rectangular mean box blur to a single-channel GpuImage.