필터 지우기
필터 지우기

how to plot frequency vs log intensity of a 2D image?

조회 수: 4 (최근 30일)
Sansri Basu
Sansri Basu 2014년 2월 26일
댓글: Image Analyst 2014년 3월 10일
The graph should appear as shown in the figure given
  댓글 수: 2
Thomas
Thomas 2014년 2월 26일
you have not attached any figures..
Sansri Basu
Sansri Basu 2014년 2월 26일
편집: Sansri Basu 2014년 2월 26일
the output of the resultant image should appear as that shown in figure 1 and figure 2 of the paper in the link i have provided below:
www.klab.caltech.edu/~xhou/papers/cvpr07.pdf

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
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
Sansri Basu
Sansri Basu 2014년 3월 10일
nop, itz only showing the original image, the graph is appearing blank!!!!!!!! please help!!!!!!!
Image Analyst
Image Analyst 2014년 3월 10일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by