show image in it's original resolution in gui figures

7 views (last 30 days)
hi, i'm gonna show an image with high resolution (e.g. 1400*960) in gui figure that i design it. but as i use imshow to show it, matlab gives me a warning: "Warning: Image is too big to fit on screen; displaying at 50% " but i want to show it in it's original resolution. how can i do it. i test 'InitialMagnification' property of imshow too. but it has no effect. tnx for your help

Answers (1)

Jan
Jan on 12 Jun 2011
Using IMSHOW seems to be the wrong command. What about IMAGE?
AxesH = axes('Units', 'pixels', 'position', [10, 10, 1400, 960], ...
'Visible', 'off');
image(Im, 'Parent', AxesH);

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!