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

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.

Réponses (2)

Doug Eastman
Doug Eastman le 19 Avr 2011
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)

Catégories

En savoir plus sur Display Image dans Centre d'aide et File Exchange

Tags

Question posée :

le 19 Avr 2011

Community Treasure Hunt

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

Start Hunting!

Translated by