资源简介
该课题为基于圆形度和着色率的水果分级系统,带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
评论
共有 条评论