-
大小: 721KB文件類型: .zip金幣: 2下載: 0 次發布日期: 2021-05-14
- 語言: Matlab
- 標簽:
資源簡介
該課題為基于圓形度和著色率的水果分級系統,帶GUI可視化界面,基于MATLAB語言。可以用于圓形如蘋果,橘子,橙子等水果。有注釋,通俗易懂。

代碼片段和文件信息
function?varargout?=?myself(varargin)
%?MYSELF?MATLAB?code?for?myself.fig
%??????MYSELF?by?itself?creates?a?new?MYSELF?or?raises?the?existing
%??????singleton*.
%
%??????H?=?MYSELF?returns?the?handle?to?a?new?MYSELF?or?the?handle?to
%??????the?existing?singleton*.
%
%??????MYSELF(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?MYSELF.M?with?the?given?input?arguments.
%
%??????MYSELF(‘Property‘‘Value‘...)?creates?a?new?MYSELF?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?myself_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?myself_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?myself
%?Last?Modified?by?GUIDE?v2.5?14-Feb-2021?13:04:33
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
????‘gui_Singleton‘??gui_Singleton?...
????‘gui_OpeningFcn‘?@myself_OpeningFcn?...
????‘gui_OutputFcn‘??@myself_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
global???d1v1??d1v2?d1v3?d2v1?d2v2?d2v3?d3v1?d3v2?d3v3
%?---?Executes?just?before?myself?is?made?visible.
function?myself_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?myself?(see?VARARGIN)
%?im=imread(‘apple1.jpg‘);
%
%?axes(handles.axes1);
%
%?imshow(im);%在坐標axes1顯示原圖像
%
%?title(‘原始水印‘);
%?%?Choose?default?command?line?output?for?myself
%?handles.output?=?hobject;
%
%?%?Update?handles?structure
%?guidata(hobject?handles);
%?UIWAIT?makes?myself?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?myself_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)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-08-01?15:42??MATLAB水果分級[GUI界面,多參數]\
?????文件???????32711??2020-04-21?11:23??MATLAB水果分級[GUI界面,多參數]\1.jpg
?????文件???????35772??2020-04-21?11:32??MATLAB水果分級[GUI界面,多參數]\10.jpg
?????文件???????29004??2020-04-21?11:20??MATLAB水果分級[GUI界面,多參數]\2.jpg
?????文件???????32939??2020-04-21?11:23??MATLAB水果分級[GUI界面,多參數]\3.jpg
?????文件???????33181??2020-04-21?11:25??MATLAB水果分級[GUI界面,多參數]\4.jpg
?????文件???????32840??2020-04-21?11:25??MATLAB水果分級[GUI界面,多參數]\5.jpg
?????文件???????33995??2020-04-21?11:26??MATLAB水果分級[GUI界面,多參數]\6.jpg
?????文件???????32893??2020-04-21?11:26??MATLAB水果分級[GUI界面,多參數]\7.jpg
?????文件??????196138??2020-05-09?18:35??MATLAB水果分級[GUI界面,多參數]\8.jpg
?????文件???????32943??2020-04-21?11:27??MATLAB水果分級[GUI界面,多參數]\9.jpg
?????文件??????167337??2020-05-20?03:34??MATLAB水果分級[GUI界面,多參數]\GUI界面設計.png
?????文件???????18818??2020-07-31?20:50??MATLAB水果分級[GUI界面,多參數]\myself.fig
?????文件???????18674??2020-07-31?20:51??MATLAB水果分級[GUI界面,多參數]\myself.m
?????文件?????????572??2020-07-31?23:24??MATLAB水果分級[GUI界面,多參數]\打開方式.txt
?????文件??????185949??2020-05-20?03:36??MATLAB水果分級[GUI界面,多參數]\運行截圖【未完善】.png
評論
共有 條評論