9#include "flowcalculator.h"
10#include "flowcalculatorcpu.h"
11#include "imagegatherer.h"
12#include "imagegatherercpu.h"
13#include "keyframeselector.h"
16#include "flowcalculatorcuda.h"
17#include "imagegatherercuda.h"
57 std::tuple<ImageGatherer *, FlowCalculator *, KeyframeSelector *>
59 bool useCuda,
double threshold);
63 ImageGatherer *createImageGatherer(std::vector<uint> futureFrames,
64 Reader *reader,
bool useCuda);
The Factory class is responsible for creating and destroying as well as managing a single object of t...
Definition factory.h:36
std::tuple< ImageGatherer *, FlowCalculator *, KeyframeSelector * > createComponents(std::vector< uint > futureFrames, Reader *reader, bool useCuda, double threshold)
createComponents creates all neccessary components for the sample process (ImageGatherer,...
Definition factory.cpp:4
The FlowCalculator class is an interface which defines the structure for the hardware specific algori...
Definition flowcalculator.h:23
The ImageGatherer class is an interface which defines the structure for the hardware specific algorit...
Definition imagegatherer.h:30
The Reader interface defines functions which are used for reading and parsing the import.
Definition reader.h:23