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


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 EntropyChannel.H.
Public Member Functions | |
| EntropyChannel (OptionManager &mgr) | |
| Construct with standard params. | |
| virtual | ~EntropyChannel () |
| 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< int > | itsQstep |
| greyscale quantization step | |
| Image< float > | itsMap |
| our entropy map | |
|
|
Construct with standard params.
Definition at line 48 of file EntropyChannel.C. |
|
|
Destructor.
Definition at line 56 of file EntropyChannel.C. |
|
|
special input function
Reimplemented from SingleChannel. Definition at line 64 of file EntropyChannel.C. References ASSERT, Image< T >::begin(), Image< T >::beginw(), LevelSpec::delMax(), LevelSpec::delMin(), e, InputFrame::getHeight(), NModelParam< T >::getVal(), OModelParam< T >::getVal(), InputFrame::getWidth(), InputFrame::grayFloat(), h, highThresh(), i, Image< T >::initialized(), SingleChannel::itsLevelSpec, itsMap, itsQstep, LevelSpec::levMax(), LevelSpec::levMin(), LevelSpec::mapLevel(), rutz::min(), Image< T >::resize(), src, and w. |
|
|
special output function
Reimplemented from SingleChannel. Definition at line 124 of file EntropyChannel.C. References itsMap. |
|
|
overload
Reimplemented from SingleChannel. Definition at line 60 of file EntropyChannel.C. References Image< T >::initialized(), and itsMap. |
|
|
our entropy map
Definition at line 69 of file EntropyChannel.H. Referenced by doInput(), getOutput(), and outputAvailable(). |
|
|
greyscale quantization step
Definition at line 61 of file EntropyChannel.H. Referenced by doInput(). |
1.4.4