imageproc::filter

Function gaussian_blur_f32

Source
pub fn gaussian_blur_f32<P>(image: &Image<P>, sigma: f32) -> Image<P>
where P: Pixel, <P as Pixel>::Subpixel: ValueInto<f32> + Clamp<f32>,
Expand description

Blurs an image using a Gaussian of standard deviation sigma. The kernel used has type f32 and all intermediate calculations are performed at this type.

ยงPanics

Panics if sigma <= 0.0.