DummyChannel Class Reference

A dummy channel that simply passes its greyscale input to its output. More...

#include <Channels/DummyChannel.H>

Inheritance diagram for DummyChannel:
Inheritance graph
[legend]
Collaboration diagram for DummyChannel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DummyChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~DummyChannel ()
 Destructor.
virtual bool outputAvailable () const
 overload
virtual Dims getMapDims () const
 overload

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 special input function
virtual Image< float > centerSurround (const uint cntrlev, const uint surrlev) const
 special submap computation function

Protected Attributes

OModelParam< float > itsFactor
 output = input * factor if non-zero
Image< float > itsMap
 our output map

Detailed Description

A dummy channel that simply passes its greyscale input to its output.

USE WITH CAUTION: only tested for --levelspec=0-0,0-0,0

Definition at line 46 of file DummyChannel.H.


Constructor & Destructor Documentation

DummyChannel::DummyChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 49 of file DummyChannel.C.

DummyChannel::~DummyChannel (  )  [virtual]

Destructor.

Definition at line 57 of file DummyChannel.C.


Member Function Documentation

Image< float > DummyChannel::centerSurround ( const uint  cntrlev,
const uint  surrlev 
) const [protected, virtual]

special submap computation function

Reimplemented from SingleChannel.

Definition at line 77 of file DummyChannel.C.

References ASSERT, LevelSpec::csOK(), OModelParam< T >::getVal(), and itsMap.

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

special input function

Reimplemented from SingleChannel.

Definition at line 69 of file DummyChannel.C.

References ASSERT, OModelParam< T >::getVal(), Image< T >::initialized(), itsFactor, and itsMap.

Dims DummyChannel::getMapDims (  )  const [virtual]

overload

Reimplemented from SingleChannel.

Definition at line 65 of file DummyChannel.C.

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

bool DummyChannel::outputAvailable (  )  const [virtual]

overload

Reimplemented from SingleChannel.

Definition at line 61 of file DummyChannel.C.

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


Member Data Documentation

output = input * factor if non-zero

Definition at line 62 of file DummyChannel.H.

Referenced by doInput().

Image<float> DummyChannel::itsMap [protected]

our output map

Definition at line 71 of file DummyChannel.H.

Referenced by centerSurround(), doInput(), getMapDims(), and outputAvailable().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:20 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3