1 #ifndef HMTRACKINGMODULE_H 2 #define HMTRACKINGMODULE_H 6 #include <opencv2/imgproc/imgproc.hpp> 12 #include "ModuleInterface.h" 13 #include "src/asmOpenCV.h" 15 #include "opencv2/opencv.hpp" 16 #include <opencv/highgui.h> 19 #include "image_display.h" 21 typedef std::vector<int> hist;
32 bool setParameters(QDomNode& config);
41 bool updateParameters();
53 void HackROI(
const QImage currIm);
59 vector<hist> calculateHistograms(
const QImage img);
62 vector<float> calculateMoments(vector<hist> channels);
65 void calculatePeaks(vector<hist> channels);
68 void calculateThresholds(vector<hist> ch);
71 QImage GrassClassifier(
const QImage currIm);
74 QImage Line_detect(
const QImage CurrentImage,
const QImage Grassimage);
77 void ApplyFilter(QImage *f_in, QImage *f_out);
80 void applydilate(QImage * f_in, QImage * fg_out);
83 void Hough_Transform(QImage *f_in);
86 QImage DLowIntGrad(
const QImage src);
89 QImage ForeGround(
const QImage curr,
const QImage bg);
93 #endif // HMTRACKINGMODULE_H Definition: HMTrackingModule.h:25
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