Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: FFT2 and IFFT2
Replies: 1   Last Post: Dec 23, 2013 4:51 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alec

Posts: 2
Registered: 12/23/13
Re: FFT2 and IFFT2
Posted: Dec 23, 2013 4:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Alec " <alecsm3@aol.com> wrote in message <l99mb3$f4b$1@newscl01ah.mathworks.com>...
> Hello,
> I have used imread to take a picture of kittens. I then run the fourier transform of the image using fft2 and then use ifft2 to get the image back. Unfortunately, instead of getting the image of kittens back, I am getting an almost entirely white image.
> Code:
> kittens = imread('practice_image.jpg');
> fKittens = fft2(kittens);
> reconImage = ifft2(fKittens);
> figure, imshow(reconImage), title('Reconstructed image');
> Thanks for any help


Found my answer here http://stackoverflow.com/questions/3729235/why-isnt-this-inverse-fourier-transform-giving-the-correct-results

Guess it was already asked. Sorry


Date Subject Author
12/23/13
Read FFT2 and IFFT2
Alec
12/23/13
Read Re: FFT2 and IFFT2
Alec

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.