about fourier transform

what is the best reconstruction in term of quality of the image when using fft2 and ifft2 without pre and post processing.

2 commentaires

Sean de Wolski
Sean de Wolski le 22 Mar 2011
What do you mean "What is the best reconstruction?" Explain your question and you'll get better answers.
si  kijang
si kijang le 28 Mar 2011
Example,if use Radon,the values of angle determine how good result we can get.For Zernike moments,the order will be the manipulated variable. But for fourier i don't know what are the manipulated variables.

Réponses (2)

Walter Roberson
Walter Roberson le 22 Mar 2011

0 votes

Are you asking: "If I have an image and I fft2() the image, and I ifft2() the result of that, then what is the maximum difference I should expect for any one pixel compared between the original and reconstructed image" ?

1 commentaire

si  kijang
si kijang le 28 Mar 2011
yes,but i also want ask about:
Example,if use Radon,the values of angle determine how good result we can get.For Zernike moments,the order will be the manipulated variable. But for fourier i don't know what are the manipulated variables.
David Young
David Young le 28 Mar 2011

0 votes

The Discrete Fourier Transform has no parameters to manipulate. The difference between the original and the reconstructed images will always be very small, though non-zero because of rounding errors.
You could explore this experimentally with test code similar to this:
imsize = 100 + ceil(1000*rand);
img = rand(imsize);
ft = fft2(img);
recon = ifft2(ft);
max(abs(img(:)-recon(:)))
which typically produces a result of order 1e-15 on my system.

1 commentaire

Walter Roberson
Walter Roberson le 12 Avr 2011
From one point of view at least, the parameter for fft would be the number of fft bins to use, and the best would be the same as the number of points along that dimension.

Cette question est clôturée.

Question posée :

le 22 Mar 2011

Clôturé :

le 20 Août 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by