I have a quick question about cufft and I was wondering if anyone has a suggestion. I have an image stack of 512X512X500 (x,y,z) and I need to do an fft along the z axis (which is time). I am using the raw image format (index: x+Nxy+NxNy*z)
I would use the 1D cufft with the batch option but I spend to much time copying the data into the correct format to make it feasible. Does anyone have any suggestions?
If you have enough memory available to have a second copy of your images around, I’d suggest transposing the images and running a batched FFT on the transposed images.
Thanks for the response! However I am not sure I get it. How can i transpose a 3d matrix to group the 3rd dimension such that I can use it with a batched fft?