资源简介
采用matlab编程,可对车辆进行目标跟踪与检测
代码片段和文件信息
function makedll(REMOVEMSDLL)
% function makedll
% makedll makes the mexDDGrab dll which is used by mmread.
% makedll requires Microsoft Visual Studio. It may work with other
% compilers but this is the only one that is supported. It also requires
% the DirectX SDK to be installed as well as the DirectShow extensions to
% DirectX. Currently the DirectShow extensions are included in the Extras for
% the DirectX SDK (a separate download).
%
% Go to http://msdn.microsoft.com/directx/directxdownloads/default.aspx
% Download and install the SDK.
% Download the Extras and expand it. Take the contents (DirectShow and DirectSound)
% out of the Extras directory and move them to the \Samples\C++ directory
% under the DirectX SDK.
% (Build the baseclasses.vcproj under the DirectX SDK+Extras in
% \Samples\C++\DirectShow\Samples\C++\DirectShow\baseClasses
% this will make strmbase.lib and quartz.lib. Make sure to build the
% Release version. THIS STEP MAY NOT BE NEEDED ANYMORE.)
% Configure mex to use Visual Studio as its compiler. Type mex -setup at
% the matlab prompt to do this if needed.
% Run makedll. It will search for the required .h and .lib files. If it
% can‘t find them it will ask you for the directory (or root directory to
% search under).
%
% Option REMOVEMSDLL is optional and it makes the dll/mexw32 file more
% system independent. It removes the dependency on MSVC*.dlls. To enable
% this call makedll(true) AND YOU MUST EDIT YOUR mexopts.bat file and add
% /NODEFAULTLIB to the set linkFLAGS line.
if (nargin < 1)
REMOVEMSDLL = false;
end
disp(‘WARNING YOU PROBABLY DON‘‘T HAVE TO RUN THIS. The only reasons to run this are: you have modified the source or for some other reason mmread doesn‘‘t work when downloaded. HIT ENTER TO CONTINUE‘);
input(‘‘‘s‘)
DirectX_SDK_Include_dir = ‘C:\Program Files‘; %\Microsoft DirectX 9.0 SDK (June 2005)
VisualStudio_Include_dir = ‘C:\Program Files‘; %\Microsoft Visual Studio .NET
DirectX_SDK_Include_dir = getpath(‘DirectX_SDK_Include_dir‘ DirectX_SDK_Include_dir ‘ddraw.h‘);
disp([‘Using ‘ DirectX_SDK_Include_dir]);
DirectX_SDK_DirectShow_Include_dir = fileparts(DirectX_SDK_Include_dir);
DirectX_SDK_DirectShow_Include_dir = getpath(‘DirectX_SDK_DirectShow_Include_dir‘ DirectX_SDK_DirectShow_Include_dir ‘dshow.h‘);
disp([‘Using ‘ DirectX_SDK_DirectShow_Include_dir]);
Quartz_Lib_dir = fileparts(DirectX_SDK_DirectShow_Include_dir);
Quartz_Lib_dir = getpath(‘Quartz_Lib_dir‘ Quartz_Lib_dir ‘Quartz.lib‘);
disp([‘Using ‘ Quartz_Lib_dir]);
Strmiids_Lib_dir = fileparts(DirectX_SDK_DirectShow_Include_dir);
Strmiids_Lib_dir = getpath(‘Strmiids_Lib_dir‘ Strmiids_Lib_dir ‘STRMIIDS.lib‘);
%Strmbase_Lib_dir = getpath(‘Strmbase_Lib_dir‘ Strmbase_Lib_dir ‘STRMbase.lib‘);
disp([‘Using ‘ Strmiids_Lib_dir]);
VisualStudio_Include_dir = getpath(‘VisualStudio_Include_dir‘ VisualStudio_Include_dir ‘atlbase.h‘);
disp([‘Using ‘ VisualStudio_Include_d
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-12-09 23:31 车辆检测跟踪\
文件 5859 2011-12-09 23:31 车辆检测跟踪\makedll.m
文件 12546 2011-12-09 23:31 车辆检测跟踪\mmread.m
文件 2596 2011-12-09 23:31 车辆检测跟踪\processfr
文件 111 2011-12-09 23:31 车辆检测跟踪\sub1.m
文件 2890 2011-12-09 23:31 车辆检测跟踪\test.m
相关资源
- 基于Matlab的最大熵模糊图像复原算法
- KITTI雷达点云与图像数据融合matlab源码
- matlab 解码 NMEA0183格式GGA数据
- 一个有关飞机的模板匹配的跟踪的m
- 基于MATLAB的电弧模型仿真
- PRI信号分选
- Matlab论文:基于Matlab的二进制数字调
- 802.11协议吞吐量随节点数性能仿真
- matlab图片rgb转yuv,存.yuv文件 播放器
- Duda模式分类Pattern Classification MATLAB 代
- dijkstra算法的matlab实现31274
- 随机路径生成函数matlab
- matlab语音信号处理工具箱
- matlab2013激活文件
- matlab实现游程编码
- 暗通道先验+引导滤波MATLAB代码
- 边缘检测中的canny算法及其matlab实现
- 通过达曼光栅生成点阵的matlab程序.
- MATLAB核函数算法
- 求控制系统的性能指标MptrtsFAI,matl
- matlab 求DTFT
- 逆变器重复控制算法MATLAB仿真
- MATLAB R2014b 许可协议文件
- matlab读取comtrade格式的程序
- 基于Matlab的RC一阶电路仿真
- Las点云数据读取代码
- 雷达回波加天线方向图模拟程序
- MATLAB 2017b 安装文件及其破解文件百度
- Matlab实现音频降噪
- matlab实现导航卫星系统中计算多普勒
评论
共有 条评论