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 | // Includes, opencv.
|
---|
15 | #include <opencv/cv.h>
|
---|
16 | #include <opencv/highgui.h>
|
---|
17 |
|
---|
18 | #include <lib3dv-1.2.0/lib3dv/device.h>
|
---|
19 |
|
---|
20 | class VislabImageProcessor
|
---|
21 | {
|
---|
22 | public:
|
---|
23 | VislabImageProcessor(const QString& name, lib3dv::image::type::types imageType);
|
---|
24 | void image_callback(boost::shared_ptr<const lib3dv::image>, unsigned int);
|
---|
25 | virtual void process(cv::Mat const& frame) = 0;
|
---|
26 | QString getName();
|
---|
27 |
|
---|
28 | private:
|
---|
29 | QString mName;
|
---|
30 | lib3dv::image::type::types mImageType;
|
---|
31 | };
|
---|
32 |
|
---|
33 | #endif // VISLABIMAGEPROCESSOR_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.