MultiColorBandChannel Class Reference

A composite channel containing a set of color-band channels. More...

#include <Channels/MultiColorBandChannel.H>

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

List of all members.

Public Member Functions

 MultiColorBandChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~MultiColorBandChannel ()
 Destructor.
virtual ColorBandChannelband (const uint idx) const
 Wraps ComplexChannel's subChan() and casts the result to ColorBandChannel.
virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Overload so that we can reconfigure when our params get changed.

Protected Member Functions

virtual void buildSubChans ()
 (re-)build our subchannels
virtual void doInput (const InputFrame &inframe)
 ColorBandChannel requires only the color image input.

Protected Attributes

OModelParam< uintitsNumBands
 number of color bands
OModelParam< uintitsSatBands
 number of saturation bands
OModelParam< float > itsHueSigma
 width of each hue band
OModelParam< float > itsSatSigma
 width of each saturation band

Detailed Description

A composite channel containing a set of color-band channels.

This is an example of a homogeneous complex channel. Thus, the JetSpec representation will have an index for the subchannel number, and further indices for the various Jet components (which are identical for all subchannels).

Definition at line 51 of file MultiColorBandChannel.H.


Constructor & Destructor Documentation

MultiColorBandChannel::MultiColorBandChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 56 of file MultiColorBandChannel.C.

References buildSubChans().

MultiColorBandChannel::~MultiColorBandChannel (  )  [virtual]

Destructor.

Definition at line 126 of file MultiColorBandChannel.C.


Member Function Documentation

ColorBandChannel & MultiColorBandChannel::band ( const uint  idx  )  const [virtual]

Wraps ComplexChannel's subChan() and casts the result to ColorBandChannel.

Definition at line 132 of file MultiColorBandChannel.C.

References ComplexChannel::subChan().

void MultiColorBandChannel::buildSubChans (  )  [protected, virtual]
void MultiColorBandChannel::doInput ( const InputFrame inframe  )  [protected, virtual]
void MultiColorBandChannel::paramChanged ( ModelParamBase *const   param,
const bool  valueChanged,
ParamClient::ChangeStatus status 
) [virtual]

Overload so that we can reconfigure when our params get changed.

Reimplemented from ModelComponent.

Definition at line 107 of file MultiColorBandChannel.C.

References buildSubChans(), OModelParam< T >::getVal(), itsNumBands, itsSatBands, and ComplexChannel::numChans().


Member Data Documentation

width of each hue band

Definition at line 71 of file MultiColorBandChannel.H.

Referenced by doInput().

number of color bands

Definition at line 69 of file MultiColorBandChannel.H.

Referenced by buildSubChans(), doInput(), and paramChanged().

number of saturation bands

Definition at line 70 of file MultiColorBandChannel.H.

Referenced by buildSubChans(), doInput(), and paramChanged().

width of each saturation band

Definition at line 72 of file MultiColorBandChannel.H.

Referenced by doInput().


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