#include <Channels/DirectionOpticalFlowChannel.H>
Public Member Functions | |
DirectionOpticalFlowChannel (OptionManager &mgr, const uint dirIndex, const double direction, const OpticalFlowType type) | |
Constructor with some parameteres. | |
virtual | ~DirectionOpticalFlowChannel () |
Destructor. | |
virtual bool | outputAvailable () const |
overload | |
void | setLucasKanadeOpticalFlow (rutz::shared_ptr< OpticalFlow > flow) |
different ways to input different optical flow algorithms | |
Image< float > | getDirectionalOpticalFlow () |
get the Optical flow for this direction | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
DirectionOpticalFlowChannel requires only luminance input. | |
void | start1 () |
get started | |
void | start2 () |
get started |
a motion sensitive channel with direction selectivity using various optical flow algorithms
Definition at line 47 of file DirectionOpticalFlowChannel.H.
DirectionOpticalFlowChannel::DirectionOpticalFlowChannel | ( | OptionManager & | mgr, | |
const uint | dirIndex, | |||
const double | direction, | |||
const OpticalFlowType | type | |||
) |
Constructor with some parameteres.
dirIndex | is the channel's index, used in Param and Jet access | |
direction | is the preferred direction in degrees (0..360) | |
type | the type of optical flow algorithm fed |
Definition at line 55 of file DirectionOpticalFlowChannel.C.
References sformat().
DirectionOpticalFlowChannel::~DirectionOpticalFlowChannel | ( | ) | [virtual] |
Destructor.
Definition at line 86 of file DirectionOpticalFlowChannel.C.
void DirectionOpticalFlowChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
DirectionOpticalFlowChannel requires only luminance input.
Reimplemented from SingleChannel.
Definition at line 107 of file DirectionOpticalFlowChannel.C.
References rutz::shared_ptr< T >::is_invalid(), and ModelComponent::started().
Image< float > DirectionOpticalFlowChannel::getDirectionalOpticalFlow | ( | ) |
get the Optical flow for this direction
Definition at line 236 of file DirectionOpticalFlowChannel.C.
bool DirectionOpticalFlowChannel::outputAvailable | ( | ) | const [virtual] |
overload
Reimplemented from SingleChannel.
Definition at line 92 of file DirectionOpticalFlowChannel.C.
References Image< T >::initialized().
void DirectionOpticalFlowChannel::setLucasKanadeOpticalFlow | ( | rutz::shared_ptr< OpticalFlow > | flow | ) |
different ways to input different optical flow algorithms
Definition at line 100 of file DirectionOpticalFlowChannel.C.
References ASSERT.
void DirectionOpticalFlowChannel::start1 | ( | ) | [protected, virtual] |
get started
Reimplemented from SingleChannel.
Definition at line 71 of file DirectionOpticalFlowChannel.C.
References OModelParam< T >::setVal().
void DirectionOpticalFlowChannel::start2 | ( | ) | [protected, virtual] |
get started
Reimplemented from ModelComponent.
Definition at line 79 of file DirectionOpticalFlowChannel.C.