MotionOpticalFlowChannel Class Reference

#include <Channels/MotionOpticalFlowChannel.H>

Inheritance diagram for MotionOpticalFlowChannel:
Inheritance graph
[legend]
Collaboration diagram for MotionOpticalFlowChannel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MotionOpticalFlowChannel (OptionManager &mgr)
 Construct.
virtual ~MotionOpticalFlowChannel ()
 destructor
virtual
DirectionOpticalFlowChannel
dirChan (const uint idx) const
 returns a specific DirectionOpticalFlowChannel
virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Overload so that we can reconfigure when our params get changed.
virtual Image< float > getOutput ()

Protected Member Functions

virtual void buildSubChans ()
 (re-)build our subchannels
virtual void doInput (const InputFrame &inframe)
 MotionSpatioTemporalChannel only required luminosity input.
void computeConspicuityMap ()

Protected Attributes

OModelParam< OpticalFlowType > itsOpticalFlowType
OModelParam< uintitsNumDirs
 number of DirectionOpticalFlowChannel subcomponents
nub::ref< FoeDetectoritsFoeDetector
 its Focus of Expansion detector
Image< byteitsCurrentImage
 the current input image
Image< byteitsPreviousImage
 the previous input image
std::vector< nub::ref
< DirectionOpticalFlowChannel > > 
itsDirectionOpticalFlowChannels
 the various directional sub-channels
rutz::shared_ptr< OpticalFlowitsOpticalFlow
 stores the optical flow features
Image< float > itsConspicuityMap
 the current conspicuity map
rutz::shared_ptr< XWinManageditsWin

Detailed Description

A composite channel containing a set of directional optical flow sub-channels

Definition at line 54 of file MotionOpticalFlowChannel.H.


Constructor & Destructor Documentation

MotionOpticalFlowChannel::MotionOpticalFlowChannel ( OptionManager mgr  ) 

Construct.

Definition at line 67 of file MotionOpticalFlowChannel.C.

References buildSubChans(), and rutz::shared_ptr< T >::reset().

MotionOpticalFlowChannel::~MotionOpticalFlowChannel (  )  [virtual]

destructor

Definition at line 86 of file MotionOpticalFlowChannel.C.


Member Function Documentation

void MotionOpticalFlowChannel::buildSubChans (  )  [protected, virtual]
DirectionOpticalFlowChannel & MotionOpticalFlowChannel::dirChan ( const uint  idx  )  const [virtual]

returns a specific DirectionOpticalFlowChannel

Definition at line 93 of file MotionOpticalFlowChannel.C.

void MotionOpticalFlowChannel::doInput ( const InputFrame inframe  )  [protected, virtual]
Image< float > MotionOpticalFlowChannel::getOutput (  )  [virtual]

Form output by combining output of subchannels. Sums the outputs of the subchannels and then optionally maxNormalize()'s the result

Reimplemented from ComplexChannel.

Definition at line 289 of file MotionOpticalFlowChannel.C.

References itsConspicuityMap.

void MotionOpticalFlowChannel::paramChanged ( ModelParamBase *const   param,
const bool  valueChanged,
ParamClient::ChangeStatus status 
) [virtual]

Overload so that we can reconfigure when our params get changed.

Reimplemented from ModelComponent.

Definition at line 131 of file MotionOpticalFlowChannel.C.

References buildSubChans(), OModelParam< T >::getVal(), itsNumDirs, and ComplexChannel::numChans().


Member Data Documentation

the current conspicuity map

Definition at line 108 of file MotionOpticalFlowChannel.H.

Referenced by getOutput().

the current input image

Definition at line 95 of file MotionOpticalFlowChannel.H.

Referenced by doInput().

the various directional sub-channels

Definition at line 102 of file MotionOpticalFlowChannel.H.

Referenced by buildSubChans(), and doInput().

its Focus of Expansion detector

Definition at line 85 of file MotionOpticalFlowChannel.H.

number of DirectionOpticalFlowChannel subcomponents

Definition at line 82 of file MotionOpticalFlowChannel.H.

Referenced by buildSubChans(), and paramChanged().

stores the optical flow features

Definition at line 105 of file MotionOpticalFlowChannel.H.

Referenced by doInput().

type of optical flow algorithm to use in our DirectionOpticalFlowChannel subcomponents

Definition at line 79 of file MotionOpticalFlowChannel.H.

Referenced by buildSubChans().

the previous input image

Definition at line 98 of file MotionOpticalFlowChannel.H.

Referenced by doInput().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:23:19 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3