Function ndarray_ndimage::gaussian_filter [−][src]
pub fn gaussian_filter<A, D>(
data: &Array<A, D>,
sigma: A,
truncate: A
) -> Array<A, D> where
A: Float + ToPrimitive,
D: Dimension, Expand description
Gaussian filter for n-dimensional arrays.
Currently hardcoded with the PadMode::Reflect padding mode and 0 order.
data- The input N-D data.sigma- Standard deviation for Gaussian kernel.truncate- Truncate the filter at this many standard deviations.
Panics if one of the axis’ lengths is lower than truncate * sigma + 0.5.