I have managed to get the forward Fourier transform of an image to the frequency space like so:
But I cannot for the life of me reconstruct the original image from the inverse Fourier transform of this frequency image? Can someone give pointers, please?
According to various articles, we are supposed to be using somehow both the Real and Imaginary (or Magnitude and Phase) of the results for frequency, so I have saved both the original Real and Imaginary parts while doing the forward transform.
My question is, how can we use these Real and Imaginary parts to reconstruct the original image back using inverse Fourier transform?