rockkingjy / OpenTracker

Real-time C++ ECO tracker etc. speed-up by SSE/NEON, support Linux, Mac, Jetson TX1/2, raspberry pi
GNU General Public License v3.0
751 stars 197 forks source link

FFTW slows down the algorithm! #26

Closed zanazakaryaie closed 5 years ago

zanazakaryaie commented 5 years ago

Hello

I've tested your dft function which can use FFTW. OpenCV takes 39ms to calculate dft of my image. But FFTW takes 180-190ms! Let me say that I just measured the fftw_execute(p) part so that matrix allocations won't be considered in calculation time. Could you please help? I expected FFTW to be faster than OpenCV's implementation

rockkingjy commented 5 years ago

don't use fftw, it's slower as I tested, if you could find a way out to speed up with it, that will be great.