A temporal flicker channel. More...
#include <Channels/FlickerNBackChannel.H>
Classes | |
class | ImageHolder |
Public Member Functions | |
FlickerNBackChannel (OptionManager &mgr) | |
Construct with standard specs. | |
virtual | ~FlickerNBackChannel () |
Destructor. | |
virtual void | reset1 () |
Reset FlickerNBackChannel. | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
FlickerNBackChannel requires only luminance input. | |
Protected Attributes | |
NModelParam< SimTime > | itsQueueLength |
A temporal flicker channel.
This channel just keeps a memory trace of the previous N frames and then does a basic center-surround processing on the difference between current and last memorized input. The time constant determines how the memorized input should be updated when a new input arrives.
Definition at line 50 of file FlickerNBackChannel.H.
FlickerNBackChannel::FlickerNBackChannel | ( | OptionManager & | mgr | ) |
Construct with standard specs.
Definition at line 49 of file FlickerNBackChannel.C.
References NModelParam< T >::setVal().
FlickerNBackChannel::~FlickerNBackChannel | ( | ) | [virtual] |
Destructor.
Definition at line 60 of file FlickerNBackChannel.C.
void FlickerNBackChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
FlickerNBackChannel requires only luminance input.
Reimplemented from SingleChannel.
Definition at line 66 of file FlickerNBackChannel.C.
References absDiff(), ASSERT, NModelParam< T >::getVal(), Image< T >::initialized(), and itsQueueLength.
void FlickerNBackChannel::reset1 | ( | ) | [virtual] |
Reset FlickerNBackChannel.
See the base function in ModelComponent.H for info.
Reimplemented from SingleChannel.
Definition at line 91 of file FlickerNBackChannel.C.
NModelParam<SimTime> FlickerNBackChannel::itsQueueLength [protected] |
Queue length of the channel, in seconds. This is used to determine the length of our memory.
Definition at line 69 of file FlickerNBackChannel.H.
Referenced by doInput().