source: pacpussensors/trunk/Vislab/VislabImageProcessor.h@ 149

Last change on this file since 149 was 147, checked in by ldecherf, 7 years ago

Ajout CameraPlayer

File size: 881 bytes
Line 
1#ifndef VISLABIMAGEPROCESSOR_H
2#define VISLABIMAGEPROCESSOR_H
3
4// Includes, project.
5#include <Pacpus/PacpusTools/AsyncWorkerBase.h>
6#include <Pacpus/kernel/ComponentBase.h>
7#include <Pacpus/kernel/DbiteFile.h>
8#include <Pacpus/kernel/DbiteFileTypes.h>
9#include <Pacpus/kernel/DbiteException.h>
10
11// Includes, qt.
12#include <QTimer>
13
14#include <lib3dv/device.h>
15
16#if (OPENCV_MAJOR == 3)
17#include <opencv2/opencv.hpp>
18#include <opencv2/highgui.hpp>
19#else
20#include <opencv/cv.h>
21#include <opencv/highgui.h>
22#endif
23
24class VislabImageProcessor
25{
26public:
27 VislabImageProcessor(const QString& name, lib3dv::image::type::types imageType);
28 void image_callback(boost::shared_ptr<const lib3dv::image>);
29 virtual void process(cv::Mat const& frame) = 0;
30 QString getName();
31
32private:
33 QString mName;
34 lib3dv::image::type::types mImageType;
35};
36
37#endif // VISLABIMAGEPROCESSOR_H
Note: See TracBrowser for help on using the repository browser.