matlab开发-Image2Data
标签:
•
文件类型: .zip
•
文件大小: 1.18MB
•
下载次数: 1
•
matlab开发-Image2Data。Matlab GUI子例程,帮助您从图中获取曲线数据(支持R2008a及以上版本)
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 45589 2014-04-21 15:10 image2data.m
文件 462 2014-04-21 15:10 data.txt
文件 25395 2014-04-21 15:10 test.jpg
文件 14795 2014-04-21 15:10 image2data.fig
文件 1442085 2014-04-21 15:10 image2dataV1_1_operation.pdf
文件 764 2014-04-21 15:10 read me.txt
文件 1494 2014-04-21 15:10 license.txt
function varargout = image2data(varargin)
% IMAGE2DATA M-file for image2data.fig
% IMAGE2DATA by itself creates a new IMAGE2DATA or raises the existing
% singleton*.
%
% H = IMAGE2DATA returns the handle to a new IMAGE2DATA or the handle to
% the existing singleton*.
%
% IMAGE2DATA(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in IMAGE2DATA.M with the given input arguments.
%
% IMAGE2DATA(‘Property‘‘Value‘...) creates a new IMAGE2DATA or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before image2data_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to image2data_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 image2data
% Last Modified by GUIDE v2.5 19-Mar-2014 06:30:57
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @image2data_OpeningFcn ...
‘gui_OutputFcn‘ @image2data_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 image2data is made visible.
function image2data_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 image2data (see VARARGIN)
% Choose default command line output for image2data
handles.output = hobject;
% pannel 0
handles.msg_on=0;
handles.cpx=0;
handles.cpy=0;% gloable variables for current position of mouse
% pannel 1
handles.idata = zeros(22);% the key variable for obtaining curve data
handles.iimage = 0;% image data matrix
handles.ximage = 0;
handles.yimage = 0;
% pannel 3
handles.pick_axis_on=0;
handles.pick_curve_on=0;
handles.pick_view_num =1;
% pannel 4
handles.point_connect_on = 0;
handles.point_delete_on = 0;
% pannel left_top
handles.zoom_on=0;% status variables recording the data picking operations
handles.pan_on=0;
himage=findobj(‘tag‘‘axes1‘);
axes(himage);
% Update handles structure
guidata(hobject handles);
clc
% UIWAIT makes image2data wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from thi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 45589 2014-04-21 15:10 image2data.m
文件 462 2014-04-21 15:10 data.txt
文件 25395 2014-04-21 15:10 test.jpg
文件 14795 2014-04-21 15:10 image2data.fig
文件 1442085 2014-04-21 15:10 image2dataV1_1_operation.pdf
文件 764 2014-04-21 15:10 read me.txt
文件 1494 2014-04-21 15:10 license.txt
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)