1 #ifndef __BACKGROUND_INITIALIZATION_MODULE_H__ 2 #define __BACKGROUND_INITIALIZATION_MODULE_H__ 8 #include "ModuleInterface.h" 19 #define ILLUM_CHANGE 250 20 #define MOVING_OBJ 253 35 bool setParameters(QDomNode& config);
44 bool updateParameters();
50 bool initializationStage;
52 double aggregationRate;
54 double thresholdCorrelation;
55 cv::Mat currRepresentation, prevRepresentation, currentFrameC1, previousFrameC1, currentFrameC3, background;
57 bool isMovingBlock(
float SADcenter,
float SADblock);
58 bool isStillObj(uchar value);
59 bool isMovingObj(uchar value);
60 double corrCoeff(uchar *ptr_img, uchar *ptr_bg);
61 double sideMatch(cv::Mat ROI, cv::Mat block,
bool isBlockImg);
62 void blockMatching(
int imgWidth,
int imgHeight);
63 void blockClassification(
int imgWidth,
int imgHeight);
64 void blockUpdate(
int imgWidth,
int imgHeight);
Definition: ModuleInterface.h:43
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: BackgroundInitialization.h:28