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

EntropyChannel Class Reference

#include <Channels/EntropyChannel.H>

Inheritance diagram for EntropyChannel:

Inheritance graph
[legend]
Collaboration diagram for EntropyChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

An entropy 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 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


Constructor & Destructor Documentation

EntropyChannel::EntropyChannel OptionManager mgr  ) 
 

Construct with standard params.

Definition at line 48 of file EntropyChannel.C.

EntropyChannel::~EntropyChannel  )  [virtual]
 

Destructor.

Definition at line 56 of file EntropyChannel.C.


Member Function Documentation

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

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.

Image< float > EntropyChannel::getOutput  )  [protected, virtual]
 

special output function

Reimplemented from SingleChannel.

Definition at line 124 of file EntropyChannel.C.

References itsMap.

bool EntropyChannel::outputAvailable  )  const [virtual]
 

overload

Reimplemented from SingleChannel.

Definition at line 60 of file EntropyChannel.C.

References Image< T >::initialized(), and itsMap.


Member Data Documentation

Image<float> EntropyChannel::itsMap [protected]
 

our entropy map

Definition at line 69 of file EntropyChannel.H.

Referenced by doInput(), getOutput(), and outputAvailable().

NModelParam<int> EntropyChannel::itsQstep [protected]
 

greyscale quantization step

Definition at line 61 of file EntropyChannel.H.

Referenced by doInput().


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 13:45:41 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4