MotionChannel Class Reference

A composite channel containing a set of direction channels. More...

#include <Channels/MotionChannel.H>

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

List of all members.

Public Member Functions

 MotionChannel (OptionManager &mgr)
 Construct.
virtual ~MotionChannel ()
 destructor
virtual DirectionChanneldirChan (const uint idx) const
 returns a specific DirectionChannel
virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Overload so that we can reconfigure when our params get changed.

Protected Member Functions

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

Protected Attributes

NModelParam< PyramidTypeitsPyrType
 type of pyramid to use in our DirectionChannel subcomponents
OModelParam< uintitsNumDirs
 number of DirectionChannel subcomponents

Detailed Description

A composite channel containing a set of direction channels.

Definition at line 49 of file MotionChannel.H.


Constructor & Destructor Documentation

MotionChannel::MotionChannel ( OptionManager mgr  ) 

Construct.

Definition at line 53 of file MotionChannel.C.

References buildSubChans().

MotionChannel::~MotionChannel (  )  [virtual]

destructor

Definition at line 65 of file MotionChannel.C.


Member Function Documentation

void MotionChannel::buildSubChans (  )  [protected, virtual]
DirectionChannel & MotionChannel::dirChan ( const uint  idx  )  const [virtual]

returns a specific DirectionChannel

Definition at line 71 of file MotionChannel.C.

References ComplexChannel::subChan().

void MotionChannel::doInput ( const InputFrame inframe  )  [protected, virtual]

MotionChannel only required luminosity input.

Implements ChannelBase.

Definition at line 119 of file MotionChannel.C.

References ASSERT, Image< T >::initialized(), ComplexChannel::numChans(), and ComplexChannel::subChan().

void MotionChannel::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 104 of file MotionChannel.C.

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


Member Data Documentation

number of DirectionChannel subcomponents

Definition at line 71 of file MotionChannel.H.

Referenced by buildSubChans(), and paramChanged().

type of pyramid to use in our DirectionChannel subcomponents

Definition at line 68 of file MotionChannel.H.

Referenced by buildSubChans().


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