stack_blur

Function stack_blur 

Source
pub fn stack_blur(
    image: &mut BlurImageMut<'_, u8>,
    radius: AnisotropicRadius,
    threading_policy: ThreadingPolicy,
) -> Result<(), BlurError>
Expand description

Fastest available blur option

Fast gaussian approximation using stack blur.

§Arguments

  • image - mutable buffer contains image data that will be used as a source and destination.
  • radius - radius almost is limited to 1449, minimum is one.
  • threading_policy - Threads usage policy.

§Complexity

O(1) complexity.