GUI中axes控件显示多幅图像(使用subplot函数)后无法再显示单幅图像,原因是axes的控件已删除,求解决办法?谢谢
5 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Embedded Coder 支持的硬件 in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!