From 6175f64926b52b4d35379d4cc872b7c4cee7dd98 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Mon, 3 Dec 2012 21:01:01 +0100 Subject: anfänge der steerer-klassen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- steer_accumulator.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 steer_accumulator.h (limited to 'steer_accumulator.h') diff --git a/steer_accumulator.h b/steer_accumulator.h new file mode 100644 index 0000000..b99602d --- /dev/null +++ b/steer_accumulator.h @@ -0,0 +1,26 @@ +#ifndef __STEER_ACCUMULATOR_H__ +#define __STEER_ACCUMULATOR_H__ + +#include +#include "steer_interface.h" +#include + +using namespace cv; + + +class SteerAccumulator : SteerIface +{ + public: + virtual ~SteerAccumulator() {}; + + void add_steerer(SteerIface* steerer); + + virtual void process_image(const Mat& img); + virtual double get_steer_data(); + virtual double get_confidence(); + + private: + std::list steerers; +}; + +#endif -- cgit v1.2.3