Is there an easy way to replace the calculation of the fourier transformation in https://github.com/Itseez/opencv/blob/master/modules/photo/src/seamless_cloning.cpp with the directx fft implementation https://msdn.microsoft.com/en-us/library/windows/desktop/ff476277%28v=vs.85%29.aspx ? I'm using this for a windows store app so I cannot use CUDA or OpenCL. But I can use directx for hardware acceleration. Are there faster ways to solve the poisson equation without using fft? Any suggestions are welcome.