How to view the Frequency content of an image
15 views (last 30 days)
Show older comments
I want to view the frequency content of an image. For that I perform FAST FOURIER TRANFORM for my image.
I was unable to plot the output of fft function with respect to frequency .
I need to find the region of frequency where the energy of an image is located or frequency content of an image.
0 Comments
Answers (1)
Bjorn Gustavsson
on 18 Mar 2019
Try something like:
ftI = fft2(I);
imagesc(log10(abs(ftI)))
caxis([-6 0]+max(caxis))
Then you have the DC-component in the upper left corner, to shift that to the centre use fftshift.
HTH
0 Comments
See Also
Categories
Find more on Image Processing Toolbox 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!