An information channel. More...
#include <Channels/InformationChannel.H>
Public Member Functions | |
InformationChannel (OptionManager &mgr) | |
Construct with standard params. | |
virtual | ~InformationChannel () |
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 | |
NModelParam< float > | itsEps |
epsilon on contrast sensitivity threshold | |
Image< float > | itsMap |
our information map |
An information channel.
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 48 of file InformationChannel.H.
InformationChannel::InformationChannel | ( | OptionManager & | mgr | ) |
Construct with standard params.
Definition at line 48 of file InformationChannel.C.
InformationChannel::~InformationChannel | ( | ) | [virtual] |
Destructor.
Definition at line 56 of file InformationChannel.C.
void InformationChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
special input function
Reimplemented from SingleChannel.
Definition at line 64 of file InformationChannel.C.
References ASSERT, LevelSpec::delMax(), LevelSpec::delMin(), OModelParam< T >::getVal(), NModelParam< T >::getVal(), infoMeasure(), Image< T >::initialized(), itsEps, itsMap, LevelSpec::levMax(), LevelSpec::levMin(), and LevelSpec::mapLevel().
Image< float > InformationChannel::getOutput | ( | ) | [protected, virtual] |
special output function
Reimplemented from SingleChannel.
Definition at line 80 of file InformationChannel.C.
References itsMap.
bool InformationChannel::outputAvailable | ( | ) | const [virtual] |
overload
Reimplemented from SingleChannel.
Definition at line 60 of file InformationChannel.C.
References Image< T >::initialized(), and itsMap.
NModelParam<float> InformationChannel::itsEps [protected] |
epsilon on contrast sensitivity threshold
Definition at line 61 of file InformationChannel.H.
Referenced by doInput().
Image<float> InformationChannel::itsMap [protected] |
our information map
Definition at line 69 of file InformationChannel.H.
Referenced by doInput(), getOutput(), and outputAvailable().