Changing size in imshow
Ältere Kommentare anzeigen
Hi Guys,
Whenever I want to display an image using imshow, it is always displayed at a smaller size. I get the following warning, "Warning: Image is too big to fit on screen; displaying at 67%".
Is there any way to display the image at 100% or maybe higher?
NS
Akzeptierte Antwort
Weitere Antworten (1)
bym
am 9 Jul. 2011
imshow('pout.tif','InitialMagnification',200)
4 Kommentare
Image Analyst
am 9 Jul. 2011
That won't do it. pout is smaller than the screen. Just try it with an image larger than the screen and you'll see that that does not work.
Bayar Shahab
am 17 Mär. 2014
Bearbeitet: Bayar Shahab
am 17 Mär. 2014
That is code is "imshow('pout.tif','InitialMagnification',200)" working amazingly . You can even change the resolution to "fit" inorder to fit the screen. imshow('pout.tif','InitialMagnification','fit')
Image Analyst
am 17 Mär. 2014
Again, poutis smaller than the screen. My answer stands. Read the original poster's question. He has an image LARGER than the screen and wants it pixel for pixel, not shrunken down. What you did is the same as what proecsm. True, it works but it's for images smaller than the screen, not larger like the original poster wanted.
arnold
am 29 Feb. 2020
I'm having this problem in 2020 still. Really annoying, that the argument of InitialMagnification doesn't work if the images are larger than the screen and I can't seem to find a workaround.
Kategorien
Mehr zu Red finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!