Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is dft() thread-safe?

Hi,

I'm having some issues with dft() giving back arrays filled with NaN when called in a multi-threaded environment (tbb::parallel_for). The same code produces valid results when called in a sequential for loop. I know FFTW is not thread-safe, is OpenCV's DFT also not thread-safe?

Thanks, Phil