FFTW library succesfully added and tested.
All precision to double. FFT and IFFT is done for one pixel.
Programm gets pulse and add its signal to frames. But result frames are blured. I need to add pulse signal to original frames, not to blured one.
I founded out that i have to pyr up pulse in Mat format, then turn it back to array and there summ it to default frames. This version sums in Mats and works wrong.
Before cleaning