Function blur
pub fn blur<I: GenericImageView>(image: &I, sigma: f32) -> ImageBuffer<I::Pixel, Vec<<I::Pixel as Pixel>::Subpixel>>
where
I::Pixel: 'static,
Performs a Gaussian blur on the supplied image.
Arguments
sigma- gaussian bell flattening level.
Use [crate::imageops::fast_blur()] for a faster but less
accurate version.
This method assumes alpha pre-multiplication for images that contain non-constant alpha.
This method typically assumes that the input is scene-linear light.
If it is not, color distortion may occur.