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'); 

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM