Scipy's imresize takes (by preference) integers and returns always integers delivering differente results than matlab version.
Also this happens:
[...]Bfx_fourier.py:60: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
A = imresize(x[0:N2, 0:M2], (n, m))
Scipy's imresize takes (by preference) integers and returns always integers delivering differente results than matlab version.
Also this happens:
[...]Bfx_fourier.py:60: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future A = imresize(x[0:N2, 0:M2], (n, m))
some options: