spline_filter1d(input, order=3, axis=-1, output=<class 'numpy.float64'>, mode='mirror', *, allow_float32=False)¶
Calculate a 1-D spline filter along the given axis.
The lines of the array along the given axis are filtered by a spline filter. The order of the spline must be >= 2 and <= 5.
input (cupy.ndarray) – The input array.
axis (int) – The axis along which the spline filter is applied. Default is the last axis.
output (cupy.ndarray or dtype, optional) – The array in which to place the output, or the dtype of the returned array. Default is
mode (str) – Points outside the boundaries of the input are filled according to the given mode (
'opencv'). Default is
allow_float32 (bool) – If True, single-precision inputs will use single precision computation. If False, double precision is used. This option is not present in SciPy.
The result of prefiltering the input.
- Return type