hsy1941

MATLAB GUI图片添加背景

global im
[filename,pathname]=uigetfile(\'*.jpg\',\'输入图片\');
file=strcat(pathname,filename);
im=imread(file);
axes(handles.axes1);%在坐标1显示
imshow(im);
ha=axes(\'units\',\'normalized\',\'position\',[0 0 1 1]);
uistack(ha,\'down\')
II=imread(\'E:\1.jpg\');%作为背景的图片
image(II)
colormap gray
set(ha,\'handlevisibility\',\'off\',\'visible\',\'off\');

  

发表于 2017-07-15 22:56  任重道远-HSY  阅读(4054)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2021-11-24
  • 2022-01-19
  • 2022-12-23
  • 2021-08-15
  • 2021-09-25
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2021-12-28
  • 2021-11-29
  • 2021-11-26
  • 2021-11-13
  • 2021-12-05
  • 2021-11-05
相关资源
相似解决方案