VAT  3.0
Video Analysis Tool
CameraCalibrationModule.h
1 #ifndef CAMERA_CALIBRATION_MODULE_H
2 #define CAMERA_CALIBRATION_MODULE_H
3 
4 #include "Datapool.h"
5 #include "ModuleInterface.h"
6 #include <QDir>
7 
9 {
10  public:
13 
14  //Set module configuration parameters
15  bool setParameters(QDomNode& config);
16 
17  //Initialization after reading parameters
18  bool init();
19 
20  //update parameters at runtime.
21  bool updateParameters();
22 
23  //Function executed at each frame
24  bool run();
25 
26  double calibrate();
27 
28  bool firstTime;
29  int width, height, flag;
30  cv::Mat imgARGB32, currImgC3, undistorted, map1, map2;
31 };
32 //formato archivo calibracion "calibrate.txt":
33 //X_objeto Y_objeto X_imagen Y_imagen
34 #endif // CAMERA_CALIBRATION_MODULE_H
Definition: ModuleInterface.h:43
Definition: CameraCalibrationModule.h:8
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39