资源简介
原创matlab的双摄像头控制GUI-camera.m
利用GUI设计的双摄像头控制。刚进论坛,新手。可以实现预览、单摄像头单独采集、双摄像头同时采集功能。目前只是一个比较粗糙的设计,计划加上定时拍照,指定图像保存的路径。由于没有M值了,请大家在“定时拍照,指定图像保存的路径”方面给点帮助哈!谢谢了。
利用GUI设计的双摄像头控制。刚进论坛,新手。可以实现预览、单摄像头单独采集、双摄像头同时采集功能。目前只是一个比较粗糙的设计,计划加上定时拍照,指定图像保存的路径。由于没有M值了,请大家在“定时拍照,指定图像保存的路径”方面给点帮助哈!谢谢了。
代码片段和文件信息
function varargout = camera(varargin)
% CAMERA M-file for camera.fig
% CAMERA by itself creates a new CAMERA or raises the existing
% singleton*.
%
% H = CAMERA returns the handle to a new CAMERA or the handle to
% the existing singleton*.
%
% CAMERA(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in CAMERA.M with the given input arguments.
%
% CAMERA(‘Property‘‘Value‘...) creates a new CAMERA or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before camera_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to camera_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 camera
% Last Modified by GUIDE v2.5 07-Apr-2010 09:56:01
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @camera_OpeningFcn ...
‘gui_OutputFcn‘ @camera_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 camera is made visible.
function camera_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 camera (see VARARGIN)
% Choose default command line output for camera
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes camera wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = camera_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.
%预览摄像机1
function pushbutton1_Callback(hobject eventdata handles)
% hobject handle to pushbutton1 (see GCBO)
%
相关资源
- Matlab的RBF模拟神经网络主要用于函数
- 小波的代码-local_max_mode.m
- 怎么用MATLAB仿真出光伏电池的PU曲线图
- 分享帖三相桥式全控整流电路的MATL
- BP算法改进及在MATLAB上的实现-BP算法的
- 基于LMS的自适应回声抵消-f1.m
- Matlab的AIC和BIC的计算方法-关于AIC.do
- 小波分解及奇异点检测极其经典的M
- MATLAB通信仿真及应用详解pdf-MATLAB通信
- 几篇MATLAB通过OPC与PLC通信的论文-OPC技
- 自己写的几个常用自适应波束形成程
- 分享帖三相桥式全控整流电路的MATL
- DTMF合成与识别MatlabGUI-DTMF.zip
- 永磁同步电机模糊PID控制-chap3_6.m
- MATLAB程序分享实现单摆在外力矩作用
-
线性二自由度汽车转向simuli
nk模型 - 可以运行的EMD工具箱针对hhspectrum错误
- 二自由度三自由度机械臂simmechanicsP
-
汽车动力学simuli
nk仿真程序很精典 - 基于MATLAB的PSS仿真模型的电力系统振
- 利用MATLAB编写的adams路面谱程序-road
- 基于MRAS的无速度矢量控制系统仿真
-
传个simuli
nk与carsim联合仿真的说明 - 小波边缘检测源程序代码-小波边缘检
- 基本蚁群聚类算法及其改进算法带M
- matlab汽车理论-auto_theory.m
- Matlab基于k均值聚类学习算法的rbf神经
- 自己编写的Matlab蒙特卡洛模拟VAR的程
- 混合高斯em算法matlab源码可算三个参数
- 全套汽车巡航系统模糊控制设计Matl
评论
共有 条评论