⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 videownd.h

📁 毕设终于作完了 虽然老师说行为分析做得很没意义
💻 H
字号:
// VideoWnd.h: interface for the CVideoWnd class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_VIDEOWND_H__AA6C910A_559B_40A8_BB84_50CF30DA09A7__INCLUDED_)
#define AFX_VIDEOWND_H__AA6C910A_559B_40A8_BB84_50CF30DA09A7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "cv.h"
#include "highgui.h"

class CVideoWnd:public CStatic  
{
public:
	void ShowAnalysis();
	void DrawPath();
	int getpixel(IplImage *image, int x, int y, int *h, int *s, int *v);
	IplImage img;
	void PFTrack();
	int state;


	CString str[100][2];
	CString result;
	//int videostate;
   //int *p[2] = new int [][2];
	int XX,YY;//每一帧中跟踪对象的中心
	int center[2000][2];//跟踪对象的中心
    int count;//帧数
	int getcount,getcountj;//找到目标是的帧数
////////////////////////////////////
	int DP; //状态向量的维数
    int MP; //测量向量的维数          
    int SamplesNum;  //粒子数

    CvConDensation* ConDens;
   
    CvMat* lowerBound;    
    CvMat* upperBound; 
///////////////////////////////////////

	IplImage* source;
	void VideoCatch();
	CvCapture* capture;
	void DrawBackGround();
	CVideoWnd();
	virtual ~CVideoWnd();
	protected:
	//{{AFX_MSG(CVideoWnd)
   	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

};

#endif // !defined(AFX_VIDEOWND_H__AA6C910A_559B_40A8_BB84_50CF30DA09A7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -