matfilter = np.real(ifft2(fft2(matpad * matsign) * win2d) * matsign)