Line | |
---|
1 | #ifndef OUTPUTTER_H
|
---|
2 | #define OUTPUTTER_H
|
---|
3 |
|
---|
4 | // Includes, project.
|
---|
5 | #include <Pacpus/PacpusTools/AsyncWorkerBase.h>
|
---|
6 | #include <Pacpus/kernel/ComponentBase.h>
|
---|
7 | #include <string.h>
|
---|
8 | //#include "VislabComponent.hpp"
|
---|
9 | #include <Pacpus/kernel/InputOutputInterface.h>
|
---|
10 | #include "VislabImageProcessor.h"
|
---|
11 |
|
---|
12 | // Includes, lib3dv.
|
---|
13 | #include <lib3dv-1.2.0/lib3dv/device.h>
|
---|
14 | //#include "20150310_lib3dv-1.2.0/src/disk_writer.h"
|
---|
15 |
|
---|
16 | #include <boost/asio/io_service.hpp>
|
---|
17 | #include <boost/asio/ip/address.hpp>
|
---|
18 | #include <boost/bind.hpp>
|
---|
19 | #include <boost/ref.hpp>
|
---|
20 | #include <boost/thread.hpp>
|
---|
21 |
|
---|
22 | // Includes, opencv.
|
---|
23 | #include <opencv/cv.h>
|
---|
24 | #include <opencv/highgui.h>
|
---|
25 |
|
---|
26 | namespace pacpus {
|
---|
27 | class VislabComponent;
|
---|
28 | }
|
---|
29 |
|
---|
30 | class Outputter : public VislabImageProcessor
|
---|
31 | {
|
---|
32 | public:
|
---|
33 |
|
---|
34 | /// Ctor of CVWebcamComponent.
|
---|
35 | Outputter(lib3dv::image::type::types imageType);
|
---|
36 | void setOutput(pacpus::OutputInterface<cv::Mat, pacpus::VislabComponent>* output);
|
---|
37 |
|
---|
38 | void process(cv::Mat const& frame);
|
---|
39 |
|
---|
40 | private:
|
---|
41 |
|
---|
42 | pacpus::OutputInterface<cv::Mat, pacpus::VislabComponent>* output_;
|
---|
43 |
|
---|
44 |
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif // OUTTPUTER_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.