- cupyx.scipy.ndimage.laplace(input, output=None, mode='reflect', cval=0.0)#
Multi-dimensional Laplace filter based on approximate second derivatives.
input (cupy.ndarray) – The input array.
output (cupy.ndarray, dtype or None) – The array in which to place the output. Default is is same dtype as the input.
mode (str) – The array borders are handled according to the given mode (
'wrap'). Default is
cval (scalar) – Value to fill past edges of input if mode is
'constant'. Default is
The result of the filtering.
- Return type
When the output data type is integral (or when no output is provided and input is integral) the results may not perfectly match the results from SciPy due to floating-point rounding of intermediate results.