MultiDirectFeedChannel Class Reference

Multi Direct Feed Channel. More...

#include <Channels/DirectFeedChannel.H>

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

List of all members.

Public Member Functions

 MultiDirectFeedChannel (OptionManager &mgr, uint num=1)
 Constructor.
virtual ~MultiDirectFeedChannel ()
 Virtual destructor.
virtual void setNumChans (uint num)
 reset the number of sub-channels
void inputPyramid (uint ChanNum, const ImageSet< float > &pyramid, const SimTime &t)
 Send an already computed pyramid as input to the sub-channel num.
void inputPyramidVector (const PyrVec &pvec, const SimTime &t)
 Send a vector of already computed pyramids as inputs to the channels.
DirectFeedChanneldirectFeed (uint num)
 returns sub-channel number num

Protected Member Functions

virtual Image< float > combineOutputs ()
 Combines the outputs of subchannels.
virtual void doInput (const InputFrame &inframe)
 must be called with either colimg or bwimg to obtain the dims

Detailed Description

Multi Direct Feed Channel.

Definition at line 175 of file DirectFeedChannel.H.


Constructor & Destructor Documentation

MultiDirectFeedChannel::MultiDirectFeedChannel ( OptionManager mgr,
uint  num = 1 
)

Constructor.

Parameters:
mgr our ModelManager (see ModelManager.H)
num number of sub-channels

Definition at line 289 of file DirectFeedChannel.C.

References setNumChans().

MultiDirectFeedChannel::~MultiDirectFeedChannel (  )  [virtual]

Virtual destructor.

Definition at line 296 of file DirectFeedChannel.C.


Member Function Documentation

Image< float > MultiDirectFeedChannel::combineOutputs (  )  [protected, virtual]
DirectFeedChannel & MultiDirectFeedChannel::directFeed ( uint  num  ) 

returns sub-channel number num

Definition at line 337 of file DirectFeedChannel.C.

References ASSERT, ComplexChannel::numChans(), and ComplexChannel::subChan().

Referenced by combineOutputs(), doInput(), and inputPyramid().

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

must be called with either colimg or bwimg to obtain the dims

After each call of input, inputPyramidVector or inputPyramid must be called.

Implements ChannelBase.

Definition at line 363 of file DirectFeedChannel.C.

References ASSERT, directFeed(), Image< T >::initialized(), ChannelBase::input(), and ComplexChannel::numChans().

void MultiDirectFeedChannel::inputPyramid ( uint  ChanNum,
const ImageSet< float > &  pyramid,
const SimTime t 
)

Send an already computed pyramid as input to the sub-channel num.

Definition at line 319 of file DirectFeedChannel.C.

References ASSERT, directFeed(), DirectFeedChannel::inputPyramid(), and ComplexChannel::numChans().

Referenced by inputPyramidVector().

void MultiDirectFeedChannel::inputPyramidVector ( const PyrVec pvec,
const SimTime t 
)

Send a vector of already computed pyramids as inputs to the channels.

Definition at line 328 of file DirectFeedChannel.C.

References ASSERT, inputPyramid(), and ComplexChannel::numChans().

void MultiDirectFeedChannel::setNumChans ( uint  num  )  [virtual]

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