MultiConvolveChannel Class Reference

A generic multi-convolution channel. More...

#include <Channels/MultiConvolveChannel.H>

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

List of all members.

Public Member Functions

 MultiConvolveChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~MultiConvolveChannel ()
 Destructor.

Protected Member Functions

void start1 ()
 read filter definition and instantiate subchannels
virtual void doInput (const InputFrame &inframe)
 MultiConvolveChannel requires only color input.

Protected Attributes

NModelParam< std::stringitsFilterFname
 file name for the filters
NModelParam< float > itsLumThresh
 Luminance threshold (see getRGBY()).

Detailed Description

A generic multi-convolution channel.

This channel reads a filter definition file from disk (text format) and builds a number of ConvolveChannel subchannels. In the current implementation, only 4 subchannels are supported, and their inputs will be the red, green, blue and yellow color components of the image as given by getRGBY(). Each subchannel will convolve its input using the convolution filter definition given in the text file.

Definition at line 52 of file MultiConvolveChannel.H.


Constructor & Destructor Documentation

MultiConvolveChannel::MultiConvolveChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 50 of file MultiConvolveChannel.C.

References ComplexChannel::addSubChan(), ModelComponent::getManager(), and sformat().

MultiConvolveChannel::~MultiConvolveChannel (  )  [virtual]

Destructor.

Definition at line 72 of file MultiConvolveChannel.C.


Member Function Documentation

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

read filter definition and instantiate subchannels

Reimplemented from ComplexChannel.

Definition at line 76 of file MultiConvolveChannel.C.

References CONV_BOUNDARY_ZERO, NModelParam< T >::getVal(), itsFilterFname, NO_INIT, Image< T >::setVal(), and ComplexChannel::subChan().


Member Data Documentation

file name for the filters

Definition at line 62 of file MultiConvolveChannel.H.

Referenced by start1().

Luminance threshold (see getRGBY()).

Definition at line 63 of file MultiConvolveChannel.H.

Referenced by doInput().


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