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

IntensityBandChannel Class Reference

#include <Channels/IntensityBandChannel.H>

Inheritance diagram for IntensityBandChannel:

Inheritance graph
[legend]
Collaboration diagram for IntensityBandChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

A composite channel containing a set of intensity-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 IntensityBandChannel.H.

Public Member Functions

 IntensityBandChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~IntensityBandChannel ()
 Destructor.
virtual IntensityChannelband (const uint idx) const
 Wraps ComplexChannel's subChan() and casts the result to IntensityChannel.
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)
 IntensityBandChannel requires only the intensity image input.

Protected Attributes

OModelParam< uintitsNumBands
 number of intensity bands
OModelParam< float > itsSigma
 width of each intensity band


Constructor & Destructor Documentation

IntensityBandChannel::IntensityBandChannel OptionManager mgr  ) 
 

Construct with standard params.

Definition at line 55 of file IntensityBandChannel.C.

References buildSubChans().

IntensityBandChannel::~IntensityBandChannel  )  [virtual]
 

Destructor.

Definition at line 103 of file IntensityBandChannel.C.


Member Function Documentation

IntensityChannel & IntensityBandChannel::band const uint  idx  )  const [virtual]
 

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

Definition at line 107 of file IntensityBandChannel.C.

References ComplexChannel::subChan().

void IntensityBandChannel::buildSubChans  )  [protected, virtual]
 

(re-)build our subchannels

Definition at line 66 of file IntensityBandChannel.C.

References ComplexChannel::addSubChan(), ModelComponent::getManager(), OModelParam< T >::getVal(), i, itsNumBands, LINFO, makeSharedComp(), MC_RECURSE, and ComplexChannel::removeAllSubChans().

Referenced by IntensityBandChannel(), and paramChanged().

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

IntensityBandChannel requires only the intensity image input.

Implements ChannelBase.

Definition at line 115 of file IntensityBandChannel.C.

References ASSERT, Image< T >::begin(), InputFrame::clipMask(), Image< T >::end(), exp(), InputFrame::fromGrayFloat(), InputFrame::getDims(), OModelParam< T >::getVal(), InputFrame::grayFloat(), i, Image< T >::initialized(), itsNumBands, itsSigma, InputFrame::pyrCache(), sqrt(), ComplexChannel::subChan(), and InputFrame::time().

void IntensityBandChannel::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 89 of file IntensityBandChannel.C.

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


Member Data Documentation

OModelParam<uint> IntensityBandChannel::itsNumBands [protected]
 

number of intensity bands

Definition at line 69 of file IntensityBandChannel.H.

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

OModelParam<float> IntensityBandChannel::itsSigma [protected]
 

width of each intensity band

Definition at line 70 of file IntensityBandChannel.H.

Referenced by doInput().


The documentation for this class was generated from the following files:
Generated on Fri Nov 21 10:44:12 2008 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4