资源简介
北京航空航天大学出版的OPENCV中的实例源代码,并附实例视频
代码片段和文件信息
#include “cvaux.h“
#include “highgui.h“
#include
/* select the correct function for doing case insensitive string comparaison */
#ifdef WIN32
#define MY_STRNICMP strnicmp
#define MY_STRICMP stricmp
#else
#define MY_STRNICMP strncasecmp
#define MY_STRICMP strcasecmp
#endif
/* list of FG DETECTION modules */
static CvFGDetector* cvCreateFGDetector0(){return cvCreateFGDetectorbase(CV_BG_MODEL_FGD NULL);}
static CvFGDetector* cvCreateFGDetector0Simple(){return cvCreateFGDetectorbase(CV_BG_MODEL_FGD_SIMPLE NULL);}
static CvFGDetector* cvCreateFGDetector1(){return cvCreateFGDetectorbase(CV_BG_MODEL_MOG NULL);}
typedef struct DefModule_FGDetector
{
CvFGDetector* (*create)();
char* nickname;
char* description;
} DefModule_FGDetector;
DefModule_FGDetector FGDetector_Modules[] =
{
{cvCreateFGDetector0“FG_0““Foreground object Detection from Videos Containing Complex Background. ACM MM2003.“}
{cvCreateFGDetector0Simple“FG_0S““Simplyfied version of FG_0“}
{cvCreateFGDetector1“FG_1““Adaptive background mixture models for real-time tracking. CVPR1999“}
{NULLNULLNULL}
};
/* list of BLOB DETECTION modules */
typedef struct DefModule_BlobDetector
{
CvBlobDetector* (*create)();
char* nickname;
char* description;
} DefModule_BlobDetector;
DefModule_BlobDetector BlobDetector_Modules[] =
{
{cvCreateBlobDetectorCC“BD_CC““Detect new blob by tracking CC of FG mask“}
{cvCreateBlobDetectorSimple“BD_Simple““Detect new blob by uniform moving of connected components of FG mask“}
{NULLNULLNULL}
};
/* list of BLOB TRACKING modules */
typedef struct DefModule_BlobTracker
{
CvBlobTracker* (*create)();
char* nickname;
char* description;
} DefModule_BlobTracker;
DefModule_BlobTracker BlobTracker_Modules[] =
{
{cvCreateBlobTrackerCCMSPF“CCMSPF““connected component tracking and MSPF resolver for collision“}
{cvCreateBlobTrackerCC“CC““Simple connected component tracking“}
{cvCreateBlobTrackerMS“MS““Mean shift algorithm “}
{cvCreateBlobTrackerMSFG“MSFG““Mean shift algorithm with FG mask using“}
{cvCreateBlobTrackerMSPF“MSPF““Particle filtering based on MS weight“}
{NULLNULLNULL}
};
/* list of BLOB TRAJECTORY GENERATION modules */
typedef struct DefModule_BlobTrackGen
{
CvBlobTrackGen* (*create)();
char* nickname;
char* description;
} DefModule_BlobTrackGen;
DefModule_BlobTrackGen BlobTrackGen_Modules[] =
{
{cvCreateModuleBlobTrackGenYML“YML““Generate track record in YML format as synthetic video data“}
{cvCreateModuleBlobTrackGen1“RawTracks““Generate raw track record (xysxsy)()... in each line“}
{NULLNULLNULL}
};
/* list of BLOB TRAJECTORY POST PROCESSING modules */
typedef struct DefModule_BlobTrackPostProc
{
CvBlobTrackPostProc* (*create)();
char* nickname;
char* description;
} DefModule_BlobTrackPostProc;
DefModule_BlobTrackPostProc BlobTrackPostProc_Modules[] =
{
{cvCreateModuleBlob
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 140 2007-03-23 18:45 blobtrack\Makefile
文件 26341 2006-12-17 21:00 blobtrack\blobtrack.cpp
文件 4186 2007-03-23 18:44 blobtrack\blobtrack.dsp
文件 543 2007-03-23 18:43 blobtrack\blobtrack.dsw
文件 41984 2010-05-17 01:09 blobtrack\blobtrack.ncb
文件 118784 2010-04-18 16:26 blobtrack\Debug\vc60.pdb
文件 78654 2010-04-18 16:26 blobtrack\Debug\blobtrack.obj
文件 229460 2010-04-18 16:26 blobtrack\Debug\blobtrack.exe
文件 443392 2010-04-18 16:26 blobtrack\Debug\blobtrack.pdb
文件 10467966 2008-11-01 20:14 blobtrack\Debug\142.avi
文件 2277888 2010-04-27 17:05 blobtrack\Debug\142.fg.avi
文件 432700 2006-09-05 00:10 blobtrack\Debug\video.avi
文件 124416 2010-04-27 17:24 blobtrack\Debug\video.fg.avi
文件 252 2010-04-27 17:01 blobtrack\blobtrack.plg
文件 48640 2010-05-17 01:09 blobtrack\blobtrack.opt
目录 0 2010-04-18 16:26 blobtrack\Debug
目录 0 2010-04-17 16:31 blobtrack
----------- --------- ---------- ----- ----
14295346 17
相关资源
- OpenCV.3.Computer.Vision.Application.Programmi
- opencv车牌识别
- QT5.7 + OPENCV3.2 + 动态条形码识别
- 颜色识别中各颜色阈值快速查找小程
- opencv已经编译好直接可以用的连接库
- opencv双目通过特征提取恢复深度
- opencv火焰检测识别230808
- opencv 张正友相机标定源代码及标定照
- opencv3.4+opencv_contrib3.4+cuda10.0+tbb+win10
- SURF算法+单应矩阵+RANSAC算法实现拼接
- 相机标定单目、双目.zip
- opencv-3.4.1-vc14_vc15.exe(OpenCV VS14.15安装
- OpenCV3.4.1-1安装包
- 从车道线检测项目入门opencv
- opencv安装
- opencv4.0.0.0
- frozen_east_text_detection.pb
- 车牌识别系统opencv版
- 用51单片机与LCD12864实现俄罗斯方块游
- OpenCV4.0.0包含Contrib完整包
- opencv_contrib-4.0.1.zip
- opencv_contrib3.4.0+vs2017+win10+opencv3.4.0
- OpenCV3.2.0.chm离线帮助文档opencv官方文
- OpenCV人脸识别样本数据集,包含正样
- OpenCV4经过cmake编译完整的contribute,
- opencv_contrib-4.2.0.zip
- VS2015编译的OpenCV4.1.2
- opencv-4.0.0-vc14_vc15.EXE程序
- 基于OpenCV的计算机视觉技术实现.pdf
- 基于opencv的图像处理
评论
共有 条评论