Skip to main content

Module gaussian_blur

Module gaussian_blur 

Source
Expand description

The gaussian blur filter.

Structs§

DecimationSizer
Tracks dimensions through a chain of downscale/upscale operations.
GaussianBlur
A gaussian blur.

Constants§

MAX_KERNEL_SIZE
Maximum size of the Gaussian kernel (must be odd and equal to or smaller than u8::MAX).

Functions§

compute_gaussian_kernel
Compute 1D Gaussian kernel weights for separable convolution.
plan_decimated_blur
Compute the blur execution plan based on standard deviation.
transform_blur_params 🔒
Scale a blur’s standard deviation uniformly based on the transformation.