Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FlickerChannel Class Reference

#include <Channels/FlickerChannel.H>

Inheritance diagram for FlickerChannel:

Inheritance graph
[legend]
Collaboration diagram for FlickerChannel:

Collaboration graph
[legend]
List of all members.

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.

Public Member Functions

 FlickerChannel (OptionManager &mgr)
 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


Constructor & Destructor Documentation

FlickerChannel::FlickerChannel OptionManager mgr  ) 
 

Construct with standard specs.

Definition at line 51 of file FlickerChannel.C.

References GVX_TRACE, SingleChannel::itsNormalizeOutput, SingleChannel::itsTakeAbs, and NModelParam< T >::setVal().

FlickerChannel::~FlickerChannel  )  [virtual]
 

Destructor.

Definition at line 64 of file FlickerChannel.C.

References GVX_TRACE.


Member Function Documentation

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

FlickerChannel requires only luminance input.

Reimplemented from SingleChannel.

Definition at line 70 of file FlickerChannel.C.

References absDiff(), ASSERT, InputFrame::clipMask(), SingleChannel::doInput(), InputFrame::fromGrayFloat(), NModelParam< T >::getVal(), InputFrame::grayFloat(), GVX_TRACE, Image< T >::initialized(), itsTimeConst, InputFrame::pyrCache(), SimTime::secs(), and InputFrame::time().

void FlickerChannel::reset1  )  [virtual]
 

Reset FlickerChannel.

See the base function in ModelComponent.H for info.

Reimplemented from SingleChannel.

Definition at line 110 of file FlickerChannel.C.

References Image< T >::freeMem(), GVX_TRACE, and SingleChannel::reset1().


Member Data Documentation

NModelParam<SimTime> FlickerChannel::itsTimeConst [protected]
 

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 75 of file FlickerChannel.H.

Referenced by doInput().


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:50:16 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4