Function ndarray_ndimage::spline_filter[][src]

pub fn spline_filter<S, A, D>(
    data: &ArrayBase<S, D>,
    order: usize
) -> Array<A, D> where
    S: Data<Elem = A>,
    A: 'static + Clone + Copy + Num + ToPrimitive,
    f64: AsPrimitive<A>,
    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 converted back to the original datatype.

  • data - The input N-D data.
  • order - The order of the spline.

Panics if order isn’t in the range [2, 5].