show image in it's original resolution in gui figures

19 次查看(过去 30 天)
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

回答(1 个)

Jan
Jan 2011-6-12
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);

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by