imagepro  2019 march
Biblioteca imagepro
motionhistory.h
Ir a la documentación de este archivo.
1 
11 #ifndef MOTIONHISTORY_H
12 #define MOTIONHISTORY_H
13 
14 #include "imagepro.h"
15 #include "opencv2/opencv.hpp"
16 #include "opencv2/highgui/highgui.hpp"
17 using namespace cv;
18 
20 {
21 public:
22  MotionHistory();
23  ~MotionHistory();
24 
25  QTime start;
26  Mat frame_image, frame_image_gray, siluette , mhi , frame_aux;
27  Mat channels[3];
28  double timestamp, mhi_duration;
29  int cols, rows;
31 
32  QImage image;
33  QPixmap pout;
34 
35  void InitMotionHistory(Mat *frame_image);
36  void DestroyMotionHistory();
37  void addFrameImage(Mat *newframeImage);
38 
39  Mat getMatSiluette();
40  QPixmap getOutputImage();
41 };
42 
43 #endif // MOTIONHISTORY_H
bool motionHistoryWorks
Definition: motionhistory.h:30
double timestamp
Definition: motionhistory.h:28
Definition: motionhistory.h:19
Mat siluette
Definition: motionhistory.h:26
int rows
Definition: motionhistory.h:29
QImage image
Definition: motionhistory.h:32
QTime start
Definition: motionhistory.h:25
Clase auxiliar para transformar imágenes de un formato a otro (Mat, QPixmap, QImage)
QPixmap pout
Definition: motionhistory.h:33