Last change
on this file since 146 was 142, checked in by ldecherf, 8 years ago |
Ajout de la classe outputter et modification d'openCV
|
File size:
762 bytes
|
Rev | Line | |
---|
[127] | 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 |
|
---|
[142] | 14 | #include <lib3dv/device.h>
|
---|
[127] | 15 |
|
---|
[142] | 16 | #include <opencv2/opencv.hpp>
|
---|
[127] | 17 |
|
---|
| 18 | class VislabImageProcessor
|
---|
| 19 | {
|
---|
| 20 | public:
|
---|
| 21 | VislabImageProcessor(const QString& name, lib3dv::image::type::types imageType);
|
---|
[142] | 22 | void image_callback(boost::shared_ptr<const lib3dv::image>);
|
---|
[127] | 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.