VAT  3.0
Video Analysis Tool
ConnectedComponentsTwoStepsModule.h
1 #ifndef CONNECTEDCOMPONENTS2STEPS_H
2 #define CONNECTEDCOMPONENTS2STEPS_H
3 
4 #include <map>
5 #include <string>
6 #include <QImage>
7 #include "Datapool.h"
8 #include "ModuleInterface.h"
9 #include <QDir>
10 
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 updateConnections(int new_v, int old_v, std::map<int, int> &con);
29 
30  private:
31  void setLabel();
32 
33 };
34 
35 #endif // CONNECTEDCOMPONENTS2STEPS_H
Definition: ModuleInterface.h:43
Definition: ConnectedComponentsTwoStepsModule.h:11
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39