GUI中axes控件​显示多幅图像(使用s​ubplot函数)后​无法再显示单幅图像,​原因是axes的控件​已删除,求解决办法?​谢谢

3 ビュー (過去 30 日間)
海煜 秦
海煜 秦 2022 年 5 月 15 日
A=img; %读取一个图片
A=rgb2gray(A);
[cA1,cH1,cV1,cD1]=dwt2(A,'haar');%小波变换图像
global h1 h2 h3 h4;
axes(handles.axes2);
h1=subplot(221);imshow(cA1,[]);
h2=subplot(222);imshow(cH1,[]);
h3=subplot(223);imshow(cV1,[]);
h4=subplot(224);imshow(cD1,[]);
axes(handles.axes2);%想显示另一个图像
imshow(A);

回答 (0 件)

カテゴリ

Help Center および File ExchangeEmbedded Coder 支持的硬件 についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!