Last change
on this file since 144 was 142, checked in by ldecherf, 8 years ago |
Ajout de la classe outputter et modification d'openCV
|
File size:
762 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 | #include <opencv2/opencv.hpp>
|
---|
17 |
|
---|
18 | class VislabImageProcessor
|
---|
19 | {
|
---|
20 | public:
|
---|
21 | VislabImageProcessor(const QString& name, lib3dv::image::type::types imageType);
|
---|
22 | void image_callback(boost::shared_ptr<const lib3dv::image>);
|
---|
23 | virtual void process(cv::Mat const& frame) = 0;
|
---|
24 | QString getName();
|
---|
25 |
|
---|
26 | private:
|
---|
27 | QString mName;
|
---|
28 | lib3dv::image::type::types mImageType;
|
---|
29 | };
|
---|
30 |
|
---|
31 | #endif // VISLABIMAGEPROCESSOR_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.