How to get spectrum of an image?

76 views (last 30 days)
Hamed
Hamed on 22 Apr 2014
Commented: Image Analyst on 22 Apr 2014
I have an image :
img = imread('pic.jpg');
Now, How can I get spectrum of that image?

Answers (1)

Image Analyst
Image Analyst on 22 Apr 2014
theSpectrum = fft2(img);
  2 Comments
Hamed
Hamed on 22 Apr 2014
Edited: Hamed on 22 Apr 2014
Thank You but, I want to know what's happened in fft2() function. What is body of fft2() ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!