how to plot frequency vs log intensity of a 2D image?
4 views (last 30 days)
Show older comments
The graph should appear as shown in the figure given
2 Comments
Answers (1)
Image Analyst
on 26 Feb 2014
Call fft2 on your image. Take the real part or call abs(). Then take the log and call
imshow(logImage, []);
4 Comments
Image Analyst
on 10 Mar 2014
Sansri, I just copied and pasted and it worked fine. It produced this:
I don't know why you are expecting a graph. It makes an image, not a graph. What did you do to my code to make it not work? You must have done something else besides just copying and pasting that code.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!