kalman.h
上传用户:jsylhbnbhn
上传日期:2013-11-03
资源大小:119k
文件大小:1k
- // kalman.h: interface for the kalman class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_KALMAN_H__ED3D740F_01D2_4616_8B74_8BF57636F2C0__INCLUDED_)
- #define AFX_KALMAN_H__ED3D740F_01D2_4616_8B74_8BF57636F2C0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include <math.h>
- #include "cv.h"
-
- class kalman
- {
- public:
- void init_kalman(int x,int xv,int y,int yv);
- CvKalman* cvkalman;
- CvMat* state;
- CvMat* process_noise;
- CvMat* measurement;
- const CvMat* prediction;
- CvPoint2D32f get_predict(float x, float y);
- kalman(int x=0,int xv=0,int y=0,int yv=0);
- //virtual ~kalman();
- };
- #endif // !defined(AFX_KALMAN_H__ED3D740F_01D2_4616_8B74_8BF57636F2C0__INCLUDED_)