How to get spectrum of an image?

15 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.

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!