資源簡介
matlab數(shù)字圖像處理系統(tǒng)有gui界面,有實驗報告

代碼片段和文件信息
function?varargout?=?PhotoEdit(varargin)
%?PHOTOEDIT?M-file?for?PhotoEdit.fig
%??????PHOTOEDIT?by?itself?creates?a?new?PHOTOEDIT?or?raises?the?existing
%??????singleton*.
%
%??????H?=?PHOTOEDIT?returns?the?handle?to?a?new?PHOTOEDIT?or?the?handle?to
%??????the?existing?singleton*.
%
%??????PHOTOEDIT(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?PHOTOEDIT.M?with?the?given?input?arguments.
%
%??????PHOTOEDIT(‘Property‘‘Value‘...)?creates?a?new?PHOTOEDIT?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?PhotoEdit_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?PhotoEdit_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES
%?Edit?the?above?text?to?modify?the?response?to?help?PhotoEdit
%?Last?Modified?by?GUIDE?v2.5?02-Jul-2013?12:23:02
%?Begin?initialization?code?-?DO?NOT?EDIT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-----------定義全局變量---------
global?tpdata?tp?tpfile?ydata;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@PhotoEdit_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@PhotoEdit_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT
%?---?Executes?just?before?PhotoEdit?is?made?visible.
function?PhotoEdit_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???command?line?arguments?to?PhotoEdit?(see?VARARGIN)
%?Choose?default?command?line?output?for?PhotoEdit
handles.output?=?hobject;
%?uiwait(handles.figure1);
?guidata(hobject?handles);
%?Update?handles?structure
%?UIWAIT?makes?PhotoEdit?wait?for?user?response?(see?UIRESUME)
%------------未打開圖片前菜單不可用-------------------------
?set(handles.tp_save‘Enable‘‘off‘);
?set(handles.tp_saveAs‘Enable‘‘off‘);
?set(handles.tp_revert‘Enable‘‘off‘);
?set(handles.tp_paste‘Enable‘‘off‘);
?set(handles.tp_cut‘Enable‘‘off‘);
?set(handles.tp_size‘Enable‘‘off‘);
?set(handles.tp_rotate‘Enable‘‘off‘);
?set(handles.tp_squarejs‘Enable‘‘off‘);
?set(handles.tp_squareMeanjs‘Enable‘‘off‘);
?set(handles.tp_squareOrdainjs‘Enable‘‘off‘);
?set(handles.tp_reverse‘Enable‘‘off
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-07-03?12:23??數(shù)字圖像處理1\
?????文件?????2157056??2013-07-03?12:23??數(shù)字圖像處理1\0305100410.doc
?????文件??????238627??2013-12-28?09:16??數(shù)字圖像處理1\dog.jpg
?????文件???????23115??2013-07-02?09:42??數(shù)字圖像處理1\dog2.jpg
?????文件????????8721??2013-07-02?15:21??數(shù)字圖像處理1\PhotoEdit.fig
?????文件???????19351??2013-07-02?12:23??數(shù)字圖像處理1\PhotoEdit.m
- 上一篇:圖像去模糊代碼
- 下一篇:MATLAB實現(xiàn)人臉識別
評論
共有 條評論