📄 action.h
字号:
// Action.h: interface for the CAction class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ACTION_H__69E41E4A_4B30_4140_9829_F1292B97DD71__INCLUDED_)
#define AFX_ACTION_H__69E41E4A_4B30_4140_9829_F1292B97DD71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "cv.h"
#include "highgui.h"
class CAction
{
public:
CAction(int w,int h);
virtual ~CAction();
IplImage* Action(IplImage *frameRaw);
void GetEvenRows(IplImage * src, IplImage** dst);
void doAction(IplImage* cur,IplImage* prev,IplImage* res);
int ComputeVelocity(IplImage *cur,IplImage *prev);
void SubByVelocityShift(IplImage *cur, IplImage *prev, IplImage *res, int step, int thres);
public:
CvMat *matForEvenRows;
IplImage * m_imgCur;
IplImage * m_imgPrev;
};
#endif // !defined(AFX_ACTION_H__69E41E4A_4B30_4140_9829_F1292B97DD71__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -