Function ndarray_ndimage::spline_filter
source · pub fn spline_filter<S, A, D>(
data: &ArrayBase<S, D>,
order: usize
) -> Array<f64, D>where
S: Data<Elem = A>,
A: ToPrimitive,
D: Dimension,Expand description
Multidimensional spline filter.
The multidimensional filter is implemented as a sequence of one-dimensional spline filters. The
input data will be processed in f64 and returned as such.
data- The input N-D data.order- The order of the spline.
Panics if order isn’t in the range [2, 5].