1 #ifndef MOGSEGMENTATIONMODULE_H 2 #define MOGSEGMENTATIONMODULE_H 8 #include "ModuleInterface.h" 12 #include <opencv2/opencv.hpp> 13 #include "src/ReliabilityMog2.h" 14 #include "ReliabilityBg.h" 22 bool setParameters(QDomNode& config);
31 bool updateParameters();
33 bool readImageOnDisk(QString dir,QImage **o_rpOutputImage);
35 void tuneParameters();
37 void applyAperture(cv::Mat &);
39 void applyMask(QImage *im);
42 cv::Ptr<cv::BackgroundSubtractorMOG2> mog;
54 bool m_tuningActivated;
55 int m_currentTuneValue;
60 bool different_bg_current;
66 bool m_getContrastReliability;
72 #endif // MOGSEGMENTATIONMODULE_H Definition: ModuleInterface.h:43
Definition: ReliabilityMog2.h:37
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: MOGSegmentationModule.h:16