フィルターのクリア

Display an imagie in 1:1 scale (pixel-for-pixel)

5 ビュー (過去 30 日間)
Denys
Denys 2011 年 4 月 19 日
Whenever I display an image it gets scaled to fit the figure and the image quality get butchered.
Is there a way to make sure that images get displayed "pixel-for-pixel"?
I'm using the image command to display images.

回答 (2 件)

Laura Proctor
Laura Proctor 2011 年 4 月 19 日
Try the AXIS command:
axis image

Doug Eastman
Doug Eastman 2011 年 4 月 19 日
The documentation on Displaying Graphics Images explains how to do this.
Alternatively, if you have the Image Processing Toolbox you can simply use the IMSHOW function with Initial Magnification set to 100:
imshow('board.tif','InitialMagnification',100)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by