
#include <Channels/FlickerChannel.H>
Inheritance diagram for FlickerChannel:


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< SimTime > | itsTimeConst |
|
|
Construct with standard specs.
Definition at line 51 of file FlickerChannel.C. References GVX_TRACE, SingleChannel::itsNormalizeOutput, SingleChannel::itsTakeAbs, and NModelParam< T >::setVal(). |
|
|
Destructor.
Definition at line 64 of file FlickerChannel.C. References GVX_TRACE. |
|
|
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(). |
|
|
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(). |
|
|
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(). |
1.4.4