Imshow vs mesh: Filter response flipped?

5 ビュー (過去 30 日間)
Sndn_Shr
Sndn_Shr 2017 年 11 月 4 日
コメント済み: Guillaume 2017 年 11 月 4 日
This is the same 2-D frequency response plotted using imshow and mesh. Why is the response flipped in imshow?
Using imshow:
Using mesh:

採用された回答

Guillaume
Guillaume 2017 年 11 月 4 日
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 件のコメント
Sndn_Shr
Sndn_Shr 2017 年 11 月 4 日
Thanks for the explanation! Is there a way to move the origin? to bottom-left and center?
Guillaume
Guillaume 2017 年 11 月 4 日
axis xy
to force the y axis to go up instead of down.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by