1 #ifndef SAMPLESHADOWSOCCER_H 2 #define SAMPLESHADOWSOCCER_H 8 #include "ModuleInterface.h" 10 #include "SegmentationTool.h" 12 #include <opencv2/video/background_segm.hpp> 13 #include "opencv2/opencv.hpp" 22 bool setParameters(QDomNode& config);
31 bool updateParameters();
37 void labelingNodes(cv::Mat &skeletons);
38 void updateConnections(
int new_v,
int old_v, std::map<int, int> &con);
40 void filterLeafs(
int *labelmatrix);
42 void PrintShadowSamplePoints();
43 void PrintShadowFeatures();
49 void SampleForeground();
50 cv::Mat asSamplesVectors(std::vector<std::vector<int> > Features);
59 cv::Mat connectivityMap;
60 cv::Mat foregroundSam;
62 cv::Ptr<cv::BackgroundSubtractor> mog;
67 int maxShadowFeatures;
68 int maxForegroundFeatures;
70 bool setExtofFeatures;
74 std::vector<cv::Mat> _covs_S;
78 std::vector<cv::Mat> _covs_F ;
80 std::vector<bool> excluded_zone;
81 std::vector<CvPoint> intersections;
82 std::vector<CvPoint> SsamplePoints;
83 std::vector<CvPoint> FsamplePoints;
87 std::vector<bool> classifyPixel;
89 std::vector<std::vector<int> > sFeatures;
90 std::vector<std::vector<int> > fFeatures;
93 #endif // SAMPLESHADOWSOCCER_H Definition: sampleshadowsoccer.h:15
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