VAT  3.0
Video Analysis Tool
KalmanLineModule.h
1 #ifndef KALMANLINEMODULE_H
2 #define KALMANLINEMODULE_H
3 
4 #include "Datapool.h"
5 #include "ModuleInterface.h"
6 #include "image_display.h"
7 //Commented to expect a Kalman Filter lib from OpenCV
8 //#include "src/ekfline.h"
9 
10 using namespace std;
11 
13 {
14 public:
15  KalmanLineModule(Datapool* i_data);
17 
18  //Set module configuration parameters
19  bool setParameters(QDomNode& config);
20 
21  //Initialization after reading parameters
22  bool init();
23 
24  //Function executed at each frame
25  bool run();
26 
27  //update parameters at runtime.
28  bool updateParameters();
29 
30 private:
31  bool firstTime;
32 
33  //line
34  cv::Vec2f line;
35 
36  //Matrix numbers
37  int numlines;
38  int numparameter;
39  //Commented to expect a Kalman Filter lib from OpenCV
40  //ekfline filter;
41  //ekfline::Vector state;
42 };
43 
44 
45 #endif // KALMANLINEMODULE_H
Definition: ModuleInterface.h:43
Definition: KalmanLineModule.h:12
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39