资源描述:
《matlab毕业编程【谷速软件】基本图像处理和种滤镜效果加种压缩方式加水印的完整版毕业设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、functionvarargout=text5(varargin)%TEXT5M-filefortext5.fig%TEXT5,byitself,createsanewTEXT5orraisestheexisting%singleton*.%%H=TEXT5returnsthehandletoanewTEXT5orthehandleto%theexistingsingleton*.%%TEXT5('CALLBACK',hObject,eventData,handles,...)callsthelocal%functionname
2、dCALLBACKinTEXT5.Mwiththegiveninput
arguments.%%TEXT5('Property','Value',...)createsanewTEXT5orraisesthe%existingsingleton*.Startingfromtheleft,propertyvalue
pairsare%appliedtotheGUIbeforetext5_OpeningFunctiongetscalled.
An%unrecognizedpropertynameorinvalidvaluemakes
3、property
application%stop.Allinputsarepassedtotext5_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose"GUIallows
onlyone%instancetorun(singleton)".%%Seealso:GUIDE,GUIDATA,GUIHANDLES%Edittheabovetexttomodifytheresponsetohelptext5%LastModifiedbyGUIDEv2.507
4、-May-201110:38:14%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name',mfilename,...'gui_Singleton',gui_Singleton,...'gui_OpeningFcn',@text5_OpeningFcn,...'gui_OutputFcn',@text5_OutputFcn,...'gui_LayoutFcn',[],...'gui_Callback',[]);ifnargin&&i
5、schar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_State,varargin{:});end%Endinitializationcode-DONOTEDIT%---Executesjustbeforetext5ismadevisible.functiontext5_Openi
6、ngFcn(hObject,eventdata,handles,varargin)%Thisfunctionhasnooutputargs,seeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%varargincommandlineargumentstotext5(seeVARARGIN)%Choosed
7、efaultcommandlineoutputfortext5handles.output=hObject;%Updatehandlesstructureguidata(hObject,handles);%UIWAITmakestext5waitforuserresponse(seeUIRESUME)%uiwait(handles.figure1);%---Outputsfromthisfunctionarereturnedtothecommandline.functionvarargout=text5_OutputFcn(hO
8、bject,eventdata,handles)%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);%hObjecthandletofigure%eventdatareserved-tobedefine