Dear all, I have a question regarding inverser fourier transform.
I have the following code:
Test=imread('test.png');FFT_Test=fft2(Test);IFFT_Test=ifft2(FFT_Test);Abs_FFT=abs(FFT_Test);Angle_FFT=angle(FFT_Test);Recon_FFT=Abs_FFT.*exp(i*Angle_FFT);Result=ifft2(Recon_FFT);
I assume that "Result" and "IFFT_Test"/"Test" should be exactly the same, without imaginary part. However, it is not. The "abs(Result)" is the same as "IFFT_Test"/"Test", however, there appears some random phase in the "Result", which is really weird. On the left is my test image, and on the right is the random phase I get in the "Result". Can anybody help me?
Thanks a lot!
Best Answer