I am new to CUDA and doing FFT on image but for my learning and for a starting i am doing FFT on real array and then wants to do IFFT on the result to produce the same array. I know that for real array i have to pad the input array to get the whole complex result. the result of FFT is good but when i am doing IFFT on it the result is not the same to input array. i studied about the problem and came to know that i have to do Normalization but i didn’t get any idea that how i can do normalization. my example is very simple just an array of 16 real float elements. Can any one please guide me how i can do normalization. if you need i can also my code here. Please respond to the question quickly if possible.
Dear mfatica first of all thanks for your reply. I have wrote a code for 1D C2C transformation but it is not giving the desired result. Will you please give a look at it.
using namespace std;
#define N 16
#define BATCH 10
I am new to CUDA so there must be silly mistakes so please don’t be angry.
Looking forward for a favorable response.