SciPy

scipy.signal.sepfir2d

scipy.signal.sepfir2d(input, hrow, hcol) → output

Description:

Convolve the rank-2 input array with the separable filter defined by the rank-1 arrays hrow, and hcol. Mirror symmetric boundary conditions are assumed. This function can be used to find an image given its B-spline representation.