how to plot frequency vs log intensity of a 2D image?
조회 수: 4 (최근 30일)
이전 댓글 표시
The graph should appear as shown in the figure given
댓글 수: 2
답변 (1개)
Image Analyst
2014년 2월 26일
Call fft2 on your image. Take the real part or call abs(). Then take the log and call
imshow(logImage, []);
댓글 수: 4
Image Analyst
2014년 3월 10일
Sansri, I just copied and pasted and it worked fine. It produced this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178027/image.jpeg)
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!