FlickerChannel Class Reference

A temporal flicker channel. More...

#include <Channels/FlickerChannel.H>

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

List of all members.

Public Member Functions

 FlickerChannel (OptionManager &mgr, const std::string &descrNam="Flicker", const std::string &tagNam="flicker")
 Construct with standard specs.
virtual ~FlickerChannel ()
 Destructor.
virtual void reset1 ()
 Reset FlickerChannel.

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 FlickerChannel requires only luminance input.

Protected Attributes

NModelParam< SimTimeitsTimeConst

Detailed Description

A temporal flicker channel.

This channel just keeps a memory trace of the previous frame and then does a basic center-surround processing on the difference between current and memorized input. The time constant determines how the memorized input should be updated when a new input arrives.

Definition at line 51 of file FlickerChannel.H.


Constructor & Destructor Documentation

FlickerChannel::FlickerChannel ( OptionManager mgr,
const std::string descrNam = "Flicker",
const std::string tagNam = "flicker" 
)

Construct with standard specs.

Definition at line 51 of file FlickerChannel.C.

References NModelParam< T >::setVal().

FlickerChannel::~FlickerChannel (  )  [virtual]

Destructor.

Definition at line 63 of file FlickerChannel.C.


Member Function Documentation

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

FlickerChannel requires only luminance input.

Reimplemented from SingleChannel.

Definition at line 69 of file FlickerChannel.C.

References absDiff(), ASSERT, NModelParam< T >::getVal(), Image< T >::initialized(), itsTimeConst, and SimTime::secs().

void FlickerChannel::reset1 (  )  [virtual]

Reset FlickerChannel.

See the base function in ModelComponent.H for info.

Reimplemented from SingleChannel.

Definition at line 109 of file FlickerChannel.C.

References Image< T >::freeMem().


Member Data Documentation

Time constant of the channel, in seconds. This is used to determine how to update our memory of the previous frame as a new frame arrives. If the previous frame is more than a time constant older than the new one, it will be replaced by the new one for the next step of processing; otherwise a mix between both will be used, depending on the difference between old and new times.

Definition at line 76 of file FlickerChannel.H.

Referenced by doInput().


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