Function ndarray_ndimage::gaussian_filter [−][src]
pub fn gaussian_filter<S, A, D>(
data: &ArrayBase<S, D>,
sigma: A,
truncate: A
) -> Array<A, D> where
S: Data<Elem = A>,
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.