cupyx.scipy.ndimage.spline_filter#
- cupyx.scipy.ndimage.spline_filter(input, order=3, output=<class 'numpy.float64'>, mode='mirror')[source]#
Multidimensional spline filter.
- Parameters:
input (cupy.ndarray) – The input array.
order (int) – The order of the spline interpolation, default is 3. Must be in the range 0-5.
output (cupy.ndarray or dtype, optional) – The array in which to place the output, or the dtype of the returned array. Default is
numpy.float64
.mode (str) – Points outside the boundaries of the input are filled according to the given mode (
'constant'
,'nearest'
,'mirror'
,'reflect'
,'wrap'
,'grid-mirror'
,'grid-wrap'
,'grid-constant'
or'opencv'
).
- Returns:
The result of prefiltering the input.
- Return type:
See also
scipy.spline_filter1d()