32#ifndef COMMAND_OFLOW_H_
33#define COMMAND_OFLOW_H_
37#include "drain/prog/Command.h"
38#include "drain/imageops/FastOpticalFlowOp.h"
39#include "drain/imageops/FastOpticalFlowOp2.h"
40#include "drain/imageops/BlenderOp.h"
Retrieves bean dynamically for each call.
Definition Command.h:309
Utility for creating a Command that runs FastOpticalFlowOp operator.
Definition CommandOpticalFlow.h:57
virtual const AreaGeometry & getGeometry() const =0
Main operation: computes differentials and produces approximation of motion.
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 CommandOpticalFlow.cpp:45
virtual void getMotion(size_t width, size_t height, ImageTray< Channel > &channels) const =0
The result is stored in this channel pack.
void exec() const
Main operation: computes differentials and produces approximation of motion.
Definition CommandOpticalFlow.cpp:101
virtual void getSrcData(ImageTray< const Channel > &channels) const =0
Retrieves the intensity images used as a basis of motion analysis.
Container applicable for Channels and Images, with alpha support.
Definition ImageTray.h:267
Definition DataSelector.cpp:1277