资源简介
数字图像处理大作业————各种图像算法gui界面综合实现
代码片段和文件信息
function varargout = Image_GUI(varargin)
% IMAGE_GUI MATLAB code for Image_GUI.fig
% IMAGE_GUI by itself creates a new IMAGE_GUI or raises the existing
% singleton*.
%
% H = IMAGE_GUI returns the handle to a new IMAGE_GUI or the handle to
% the existing singleton*.
%
% IMAGE_GUI(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in IMAGE_GUI.M with the given input arguments.
%
% IMAGE_GUI(‘Property‘‘Value‘...) creates a new IMAGE_GUI or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before Image_GUI_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Image_GUI_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 Image_GUI
% Last Modified by GUIDE v2.5 22-Jul-2015 13:16:45
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @Image_GUI_OpeningFcn ...
‘gui_OutputFcn‘ @Image_GUI_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 Image_GUI is made visible.
function Image_GUI_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 Image_GUI (see VARARGIN)
% Choose default command line output for Image_GUI
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
movegui(gcf‘center‘);
t=timer(‘executionmode‘‘fixedrate‘‘period‘1‘TimerFcn‘{@onTimerhandles});
start(t);
function onTimer(hobject eventdata handles)
% hobject handle to time (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
xingqi={‘日‘‘一‘‘二‘‘三‘‘四‘‘五‘‘六‘};
set(handles.time‘string‘[datestr(now‘yyyy mm dd HH:MM:SS‘) ‘ 星期‘ xingqi{weekday(now)}]);
% --- Outputs from this function are returned to the command line.
function varargout = Image_GUI_OutputFcn(hobject eventdata handles)
% varargout cell array for returning output args (see VARARGOUT);
% hobject handle to figure
% eventdata reserv
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 19672 2019-06-15 11:31 daima\1.jpg
文件 41957 2019-05-17 13:04 daima\dog.jpg
文件 89655 2019-06-15 11:23 daima\Image_GUI.fig
文件 77646 2019-06-15 11:23 daima\Image_GUI.m
目录 0 2019-06-17 17:34 daima
----------- --------- ---------- ----- ----
228930 5
- 上一篇:微机课程设计电子表
- 下一篇:ACS 5.2 license
评论
共有 条评论