Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
Sansri Basu
Sansri Basu el 26 de Feb. de 2014
Comentada: Image Analyst el 10 de Mzo. de 2014
The graph should appear as shown in the figure given
  2 comentarios
Thomas
Thomas el 26 de Feb. de 2014
you have not attached any figures..
Sansri Basu
Sansri Basu el 26 de Feb. de 2014
Editada: Sansri Basu el 26 de Feb. de 2014
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

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 26 de Feb. de 2014
Call fft2 on your image. Take the real part or call abs(). Then take the log and call
imshow(logImage, []);
  4 comentarios
Sansri Basu
Sansri Basu el 10 de Mzo. de 2014
nop, itz only showing the original image, the graph is appearing blank!!!!!!!! please help!!!!!!!
Image Analyst
Image Analyst el 10 de Mzo. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Object Properties en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by