source: pacpussensors/trunk/Vislab/Outputter.h@ 137

Last change on this file since 137 was 137, checked in by ldecherf, 8 years ago

Add Outputter

File size: 1.0 KB
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
27class Outputter : public VislabImageProcessor
28{
29public:
30
31 /// Ctor of CVWebcamComponent.
32 Outputter(lib3dv::image::type::types imageType);
33 void setOutput(pacpus::OutputInterface<cv::Mat, pacpus::VislabComponent>* output);
34
35 void process(cv::Mat const& frame);
36
37private:
38
39 pacpus::OutputInterface<cv::Mat, pacpus::VislabComponent>* output_;
40
41
42};
43
44#endif // OUTTPUTER_H
Note: See TracBrowser for help on using the repository browser.