1#ifndef FLOWCALCULATOR_H
2#define FLOWCALCULATOR_H
5#include <opencv2/core.hpp>
47 double median(std::vector<double> vec);
The FlowCalculator class is an interface which defines the structure for the hardware specific algori...
Definition flowcalculator.h:23
double flowMatToDouble(cv::Mat mat)
flowMatToDouble reduces a flow-matrix to a single floating point value, if that mat was empty return ...
virtual double calculateFlow(cv::Mat fromMat, cv::Mat toMat)=0
calculateFlow computes the flow between two images and reduces the resulting flow-matrix to a single ...
double median(std::vector< double > vec)
median calculates the median of a double vector in place