【正文】
27。%取得打開圖片的數(shù)據(jù)imwrite(img_src,fpath)。img_src39。%如果點了“取消” else fpath=fullfile(pathname, filename)。)。}, 39。,39。*.jpg。BMP files39。*.bmp39。,img_src)。 setappdata(,39。 img_src=imread(fpath)。 end axes()。)。}, ... 39。, 39。 ... 39。, 39。*.png。*.bmp。imshow(img_src)。)。 img_src=idwt2(cA,cH,cV,cD,39。 subplot(224)。 subplot(223)。 subplot(222)。 %圖像編碼 subplot(221)。db139。d39。,1)。,cV,39。 V=upcoef2(39。db139。h39。,1)。,cA,39。 %對圖像進行單層分解,小波為bd1 A=upcoef2(39。db139。 x=rgb2gray(img_src)。img_src39。imshow(abs(D),[])。%將直流分量移到頻譜圖的中心 D=ifft2(B)。 C=fft2(double(I))。)。 % function m_image_fyf_Callback(hObject, eventdata, handles)% hObject handle to m_image_fyf (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)img_src=getappdata(,39。%將直流分量移到頻譜圖的中心 axes()。 img_src=fft2(double(I))。)。 % function m_file_Callback(hObject, eventdata, handles)% hObject handle to m_file (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) % function m_image_Callback(hObject, eventdata, handles)% hObject handle to m_image (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) % function m_image_fyz_Callback(hObject, eventdata, handles)% hObject handle to m_image_fyz (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)img_src=getappdata(,39。 % Outputs from this function are returned to the mand line.function varargout = tuxiang_OutputF(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT)。 % Update handles structureguidata(hObject, handles)。else gui_mainf(gui_State, varargin{:})。 ischar(varargin{1}) = str2func(varargin{1})。if nargin amp。gui_Callback39。gui_LayoutF39。gui_OutputF39。gui_OpeningF39。gui_Singleton39。gui_Name39。s Tools menu. Choose GUI allows only one% instance to