1 #ifndef DEGUMODELINSTAnce_H 2 #define DEGUMODELINSTAnce_H 8 #include <QSharedPointer> 10 #include "reliabilitysinglemodelinterface.h" 12 #include "Blob2DFromBGSubstractionModel.h" 14 #include <opencv/cv.h> 26 void initAttributes();
31 void setParameters(QDomNode &i_parameters);
34 void activate(
Blob *);
40 void setProbability();
43 void setReliability();
46 void setBlobInterface();
49 Blob getBlobInterface();
53 void printAttributes();
57 bool draw(QImage *image);
70 std::vector<uchar> pixels;
73 static int getContourToLineIntersection(std::vector<cv::Point> &hull,
75 cv::Point2f &r1, cv::Point2f &r2,
76 int *n1 = NULL,
int *n2 = NULL);
79 void getNormalIntersections(cv::Mat &f, cv::Rect &roi, std::vector<cv::Point> &hull,
80 cv::Point2f &r1, cv::Point2f &r2,
int n1,
int n2,
84 static bool getGeneralLineForm(cv::Point2f p1, cv::Point2f p2,
86 static bool getGeneralLineForm(
float x,
float y,
float dx,
float dy,
95 void makeHistoryGraph();
102 #endif // DEGUMODELINSTAnce_H Definition: geometric.h:103
Definition: DeguModelInstance.h:18
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39