果树» How to show Image on GUI in matlab

  1. Add an “Axes” control on GUI. Change its tag to “axes_img”.  %% Tag in matlab GUI programming is used as function of name.
  2. Change property of "Axes” visible to “off” to avoid it appearing like an axes in the GUI before image is loaded.
  3. In some functions, like a button clicked, add code similar as below
       axes(handles.axes_img); % use the axes you put on GUI
       imshow('filename');   % display the image

Then an image is loaded where you put the axes control when you click the button.

郑重声明:资讯 【果树» How to show Image on GUI in matlab】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——