VAT  3.0
Video Analysis Tool
ReliabilityHistogram.h
1 #ifndef RELIABILITY_HISTOGRAM_H
2 #define RELIABILITY_HISTOGRAM_H
3 
4 #include "Datapool.h"
5 #include "ModuleInterface.h"
6 #include <QDir>
7 #include "ThermalColor.h"
8 #include "image_display.h"
9 
11 {
12  public:
15 
16  //Set module configuration parameters
17  bool setParameters(QDomNode& config);
18 
19  //Initialization after reading parameters
20  bool init();
21 
22  //Function executed at each frame
23  bool run();
24 
25  //update parameters at runtime.
26  bool updateParameters();
27 
28  void displayHistogram( cv::Mat histogram);
29 
30  bool firstTime, showHistogram;
31  int width, height, numBins, showDataAtFrame;
32  cv::Mat currGrayImg, thermalARGB32, currThermal, reliabHisto, histNorm, reliability, fieldMask;
33  std::vector<cv::Mat> channels;
34  ThermalColor thermal;
35  QString fileMaskName;
36 };
37 
38 #endif // RELIABILITY_HISTOGRAM_H
Definition: ModuleInterface.h:43
Definition: ReliabilityHistogram.h:10
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39
Definition: ThermalColor.h:7