資源簡介
自動識別是彩色輸入還是黑白圖像輸入
可以實現圖像顯示

代碼片段和文件信息
function?varargout?=?mychkou(varargin)
%?MYCHKOU?MATLAB?code?for?mychkou.fig
%??????MYCHKOU?by?itself?creates?a?new?MYCHKOU?or?raises?the?existing
%??????singleton*.
%
%??????H?=?MYCHKOU?returns?the?handle?to?a?new?MYCHKOU?or?the?handle?to
%??????the?existing?singleton*.
%
%??????MYCHKOU(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?MYCHKOU.M?with?the?given?input?arguments.
%
%??????MYCHKOU(‘Property‘‘Value‘...)?creates?a?new?MYCHKOU?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?mychkou_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?mychkou_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?mychkou
%?Last?Modified?by?GUIDE?v2.5?14-Oct-2012?19:44:04
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@mychkou_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@mychkou_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?mychkou?is?made?visible.
function?mychkou_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?mychkou?(see?VARARGIN)
%?Choose?default?command?line?output?for?mychkou
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?mychkou?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?mychkou_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
%?---?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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10829??2012-10-14?18:48??matlab圖像上位機\mychkou.asv
?????文件???????8417??2012-10-14?19:49??matlab圖像上位機\mychkou.fig
?????文件??????11957??2012-10-14?19:44??matlab圖像上位機\mychkou.m
?????文件?????????94??2012-10-14?22:40??matlab圖像上位機\使用說明.txt
?????目錄??????????0??2012-10-14?18:50??matlab圖像上位機
-----------?---------??----------?-----??----
????????????????31297????????????????????5
評論
共有 條評論