TcorrChannel Class Reference

A temporal correlation channel. More...

#include <Channels/TcorrChannel.H>

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

List of all members.

Public Member Functions

 TcorrChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~TcorrChannel ()
 Destructor.
virtual bool outputAvailable () const
 overload

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 special input function
virtual Image< float > getOutput ()
 special output function

Protected Attributes

OModelParam< int > itsFrameLag
 Lag (in frames) to use for correlation.
ImageCache< float > itsCache
 cache of the recent inputs
Image< float > itsMap
 our temporal correlation map

Detailed Description

A temporal correlation channel.

Note that in this channel, high 'salience' means low temporal correlation, i.e., lots of change. CAUTION: this channel will throw a fatal exception if your LevelSpec contains more than one level or if that level is different from the maplevel or if the deltas are non-zero.

Definition at line 51 of file TcorrChannel.H.


Constructor & Destructor Documentation

TcorrChannel::TcorrChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 50 of file TcorrChannel.C.

TcorrChannel::~TcorrChannel (  )  [virtual]

Destructor.

Definition at line 58 of file TcorrChannel.C.


Member Function Documentation

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

overload

Reimplemented from SingleChannel.

Definition at line 62 of file TcorrChannel.C.

References ImageCache< T >::getMaxSize(), itsCache, and ImageCache< T >::size().


Member Data Documentation

ImageCache<float> TcorrChannel::itsCache [protected]

cache of the recent inputs

Definition at line 72 of file TcorrChannel.H.

Referenced by doInput(), getOutput(), and outputAvailable().

Lag (in frames) to use for correlation.

Definition at line 64 of file TcorrChannel.H.

Referenced by doInput().

Image<float> TcorrChannel::itsMap [protected]

our temporal correlation map

Definition at line 73 of file TcorrChannel.H.

Referenced by getOutput().


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