资源简介
kalman跟踪行人,再视频场景中检测到行人的存在,并用红色矩形框对行人进行跟踪

代码片段和文件信息
/***************************************************************************
classColourClassifier.cpp
Used to classify the type and distribution of colours. This is used for
classifying people‘s clothing
Comments are included in machine readable xml format for possible future
production of program documentation
begin : Thu Feb 19 2004
copyright : (C) 2004 by Bob Mottram
email : fuzzgun@btinternet.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License or *
* (at your option) any later version. *
* *
***************************************************************************/
#include “stdafx.h“
///
/// Constructor
///
classColourClassifier::classColourClassifier()
{
clear();
}
///
/// Destructor
///
classColourClassifier::~classColourClassifier()
{
}
///
/// Clear all data
///
void classColourClassifier::clear()
{
NoOfGroups=0;
top_x = 99999;
top_y = 99999;
bottom_x = 0;
bottom_y = 0;
tollerance=50;
total_pixels=0;
sorted=false;
}
///
/// Sort the colours based upon the number of hits
///
void classColourClassifier::sort()
{
int ijmaxwinnertemp[5];
for (i=0;i {
max=0;
winner=-1;
for (j=i;j {
if (colour_group[i][3] > max)
{
max = colour_group[i][3];
winner=j;
}
}
if (winner>-1)
{
//swap
for (j=0;j<5;j++)
{
temp[j] = colour_group[i][j];
colour_group[i][j] = colour_group[winner][j];
colour_group[winner][j] = temp[j];
}
}
}
sorted=true;
}
///
/// Update
///
/// red component of the detected colour
/// green component of the detected colour
/// blue component of the detected colour
/// x coordinate of the detected colour blob
/// y coordinate of the detected colour blob
void classColourClassifier::update(int r int g int b int x int y)
{
int idistr2g2b2;
bool found;
long hits;
if (x if (y if (x>bottom_x) bottom_x = x;
if (y>bottom_y) bottom_y = y;
i=0;
found=false;
while ((i {
hits = col
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4544 2004-09-12 22:39 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classColourClasifier.cpp
文件 1943 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classColourClassifier.h
文件 7118 2004-09-14 03:09 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classfilter.cpp
文件 1947 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classfilter.h
文件 13633 2004-09-14 04:35 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classflow.cpp
文件 2285 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classflow.h
文件 31457 2004-09-12 22:37 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classHumunculus.cpp
文件 4916 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classHumunculus.h
文件 27156 2004-09-26 08:44 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classimage.cpp
文件 3513 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classimage.h
文件 4641 2003-11-22 16:05 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classmotion.cpp
文件 1757 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classmotion.h
文件 8124 2008-04-17 15:08 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classPersonalia.cpp
文件 3195 2004-09-14 04:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classPersonalia.h
文件 20223 2004-09-12 21:36 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classTopmap.cpp
文件 3093 2004-09-12 21:19 KALMANPI\人体跟踪KALMANPI\Develop\hbp\classTopmap.h
文件 80482 2006-10-18 21:49 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cv.lib
文件 843824 2006-10-18 21:49 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cv100.dll
文件 137324 2006-10-18 21:50 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cvaux.lib
文件 598067 2006-10-18 21:50 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cvaux100.dll
文件 6674 2006-10-19 17:16 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cvcam.lib
文件 49152 2006-10-19 17:16 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cvcam100.dll
文件 544676 2006-10-19 17:17 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cvhaartraining.lib
文件 2425 2006-10-12 22:42 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cvver.h
文件 74979 2006-09-20 17:09 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cxcore.h
文件 81678 2006-10-18 21:49 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cxcore.lib
文件 1011764 2006-10-18 21:49 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cxcore100.dll
文件 8881 2006-09-06 17:24 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cxerror.h
文件 48330 2006-08-01 18:50 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cxmisc.h
文件 58664 2006-10-18 21:50 KALMANPI\人体跟踪KALMANPI\Develop\hbp\cxts.lib
............此处省略240个文件信息
- 上一篇:unity网络五子棋源代码
- 下一篇:Vf做的工资管理系统
相关资源
- 黑苹果硬件兼容检测和查询软件
- MFC程序-碰撞的小球
- delphi 通过Ping命令检测网络是否正常
- 基于OpenCV的数字识别468815
- SCA60角度检测传感器模块程序
- 利用语音信号的短时能量与短时过零
- Cpu-Z检测CPU软件
- 小波模极大值边缘检测
- 大数的四则运算和素性检测
- 关于角点检测算法HarrisForstner经典算子
- xianshujiancheyi
- 易语言加密锁检测工具源码
- 使用LHCf检测器在s = 13TeV的质子-质子碰
- 生物超弱光子辐射光谱检测系统
- 使用ATLAS检测器在s = 13 $$ \\ sqrt {s} =
- 使用ATLAS检测器,在s = 7 TeV的pp碰撞中
- 带有异或运算安全协议的自动化检测
- 基于ARM开发板的车辆检测系统控制单
- 基于ARM7微处理器的智能型甲烷检测器
- SAC型液压支架控制器检测平台的设计
- 基于STM32的温湿度检测系统实现
- CT图像-肺结节检测
- 硬盘检测工具很好用
- JCB4A便携式甲烷检测报警仪设计
- 基于曲率信息由曲线到曲面的重建与
- qq群网警检测本群源码
- 深度学习卷积神经网络可检测和分类
- 晶体二极管参数_晶体二极管的检测方
- 基于φ—OTDR技术的带式输送机托
- 带式输送机托辊故障检测方法
评论
共有 条评论