-
大小: 14KB文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2021-04-21
- 語(yǔ)言: Matlab
- 標(biāo)簽: MATLAB??圖片坐標(biāo)??
資源簡(jiǎn)介
讀取圖片,用鼠標(biāo)獲取圖片點(diǎn)坐標(biāo),輸出坐標(biāo)數(shù)據(jù)
代碼片段和文件信息
function?varargout?=?tupian(varargin)
%?TUPIAN?M-file?for?tupian.fig
%??????TUPIAN?by?itself?creates?a?new?TUPIAN?or?raises?the?existing
%??????singleton*.
%
%??????H?=?TUPIAN?returns?the?handle?to?a?new?TUPIAN?or?the?handle?to
%??????the?existing?singleton*.
%
%??????TUPIAN(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?TUPIAN.M?with?the?given?input?arguments.
%
%??????TUPIAN(‘Property‘‘Value‘...)?creates?a?new?TUPIAN?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?tupian_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?tupian_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?tupian
%?Last?Modified?by?GUIDE?v2.5?26-Dec-2012?08:35:41
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@tupian_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@tupian_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?tupian?is?made?visible.
function?tupian_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?tupian?(see?VARARGIN)
%?Choose?default?command?line?output?for?tupian
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?tupian?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.f_tupian);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?tupian_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?b_left.
function?b_left_Callback(hobject?eventdata?handles)
%?hobject????handle?to?b_left?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????6159??2012-12-26?08:52??tupian.asv
?????文件??????10311??2012-12-26?14:33??tupian.fig
?????文件???????6755??2012-12-26?10:37??tupian.m
-----------?---------??----------?-----??----
????????????????23225????????????????????3
- 上一篇:掌紋識(shí)別
- 下一篇:一維信號(hào)壓縮還原信號(hào)
評(píng)論
共有 條評(píng)論