40 #include <drain/prog/CommandOpticalFlow.h>
41 #include <drain/util/Time.h>
43 #include "resources.h"
Utility for creating a Command that runs FastOpticalFlowOp operator.
Definition: CommandOpticalFlow.h:57
Utility for handling time. Internally, uses tm (C time structure).
Definition: Time.h:54
Container applicable for Channels and Images, with alpha support.
Definition: ImageTray.h:267
Definition: cartesian-motion.h:48
virtual void getDiff(size_t width, size_t height, double max, ImageTray< Channel > &channels) const
Retrieves the difference image needed as a temporary storage. Maybe viewed for debugging.
Definition: cartesian-motion.cpp:259
drain::Time t1
For storing 1 st input timestamp.
Definition: cartesian-motion.h:65
void getMotion(size_t width, size_t height, ImageTray< Channel > &channels) const
The result is stored in this channel pack.
Definition: cartesian-motion.cpp:314
virtual const AreaGeometry & getGeometry() const
Main operation: computes differentials and produces approximation of motion.
Definition: cartesian-motion.h:56
drain::Time t2
For storing 2nd input timestamp.
Definition: cartesian-motion.h:68
virtual void getSrcData(ImageTray< const Channel > &src) const
Retrieves the intensity images used as a basis of motion analysis.
Definition: cartesian-motion.cpp:49
Definition: DataSelector.cpp:44