资源简介
用matlab编写的提取图片数据的程序,带GUI界面,原理很简单。
代码片段和文件信息
function varargout = DataExtract(varargin)
% DATAEXTRACT MATLAB code for DataExtract.fig
% DATAEXTRACT by itself creates a new DATAEXTRACT or raises the existing
% singleton*.
%
% H = DATAEXTRACT returns the handle to a new DATAEXTRACT or the handle to
% the existing singleton*.
%
% DATAEXTRACT(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in DATAEXTRACT.M with the given input arguments.
%
% DATAEXTRACT(‘Property‘‘Value‘...) creates a new DATAEXTRACT or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before DataExtract_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to DataExtract_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 DataExtract
% Last Modified by GUIDE v2.5 30-Aug-2017 09:01:43
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @DataExtract_OpeningFcn ...
‘gui_OutputFcn‘ @DataExtract_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 DataExtract is made visible.
function DataExtract_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 DataExtract (see VARARGIN)
% Choose default command line output for DataExtract
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes DataExtract wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = DataExtract_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;
function pushbutton1_Callback(hobject eventdata handles)
axes(handles.axes1)
cla reset
axis off
set(handles.uitable1 ‘data‘ [])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 544374 2017-08-30 09:23 1.bmp
文件 787190 2018-08-09 11:31 2.bmp
文件 31971 2017-08-30 12:59 DataExtract.fig
文件 6895 2017-08-30 12:59 DataExtract.m
- 上一篇:全局最优——随机行走法
- 下一篇:Matlab制作的简易备忘录GUI
相关资源
- Matlab制作的简易备忘录GUI
- 利用MATLAB仿真DTMF音频的产生及其解码
- 压缩感知Matlab-代码与文档-l1magic-1.1
- L1范数最小化matlab源代码
- 二维图像分形维数计算
- 基于Matlabm文件的GMSK调制解调系统仿真
- 图像的简单处理
- 基于matlab的QPSK系统仿真
- 四元数matlab工具箱2.6版
- 局部二值化
- matlab_决策树C4.5算法源代码
- 动态聚类MATLAB 代码
- 小波去噪算法matlab代码
- 用matlab编写的用遗传算法优化神经网
- OFDM同步算法matlab实现
- 用Matlab 解决碎片拼接的源程序
- 基于水平集的分割方法MATLAB代码
-
基于MATLAB/Simuli
nk的双闭环直流调速 - EMD实现的MATLAB代码
- 图像分割-分水岭算法MATLAB代码
- 最小距离分类
- 灰度共生矩阵实现及四个主要特征提
- e-greedy n-armed bandits problem matlab实现
- matlab提取视网膜血管
- TAODV_matlab代码
- KL变换matlab
- matlab SIRT CT重建算法
- SOR迭代法Matlab程序
- 基于matlab对2ask信号的调制设计
- Retinex Matlab算法
评论
共有 条评论