Imshow vs mesh: Filter response flipped?

5 visualizaciones (últimos 30 días)
Sndn_Shr
Sndn_Shr el 4 de Nov. de 2017
Comentada: Guillaume el 4 de Nov. de 2017
This is the same 2-D frequency response plotted using imshow and mesh. Why is the response flipped in imshow?
Using imshow:
Using mesh:

Respuesta aceptada

Guillaume
Guillaume el 4 de Nov. de 2017
By convention for images the origin is the top left corner and the y axis points down. You can see that clearly if you make the axis visible after displaying your image:
imshow(yourimage);
axis on
  2 comentarios
Sndn_Shr
Sndn_Shr el 4 de Nov. de 2017
Thanks for the explanation! Is there a way to move the origin? to bottom-left and center?
Guillaume
Guillaume el 4 de Nov. de 2017
axis xy
to force the y axis to go up instead of down.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by