2019.4.7 注:本次的代码和设计GUI代码都是参考 刘衍琦和詹福宇所著的《MATLAB图形和视频处理实用案例详解》
1、在理解了小波图像融合的代码后我开始按照网上的GUI设计程序和书上给的代码进行小波变换的GUI设计,下面我先展示设计的结果:
这是最后的结果展示:
2、具体的主要代码如下:
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
clc;
axes(handles.axes1); cla reset;box on;set(gca,'XT