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

StereoChannel Class Reference

#include <Channels/StereoChannel.H>

Inheritance diagram for StereoChannel:

Inheritance graph
[legend]
Collaboration diagram for StereoChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

A composite channel containing a set of Disparity channels.

Definition at line 49 of file StereoChannel.H.

Public Member Functions

 StereoChannel (OptionManager &mgr)
 Construct.
virtual ~StereoChannel ()
 destructor
virtual DisparityChanneldispChan (const uint idO, const uint idP) const
 Wraps ComplexChannel's subChan() and casts the result to DisparityChannel.
virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Overload so that we can reconfigure when our params get changed.
void setSecondImage (const Image< float > *bwimg)
 set the second image to complete stereo data
void getRawFilteredImages (Image< float > ****fImgLE, Image< float > ****fImgRI)
 access method for easy viewing

Protected Member Functions

virtual void buildSubChans ()
 (re-)build our subchannels
virtual void doInput (const InputFrame &inframe)
 StereoChannel only required luminosity input AT THIS POINT.
virtual void start1 ()
 overload start1()

Protected Attributes

NModelParam< PyramidTypeitsPyrType
 type of pyramid to use in our DisparityChannel subcomponents
OModelParam< uintitsNumTheta
 number of orientations of disparity subchannels
NModelParam< uintitsNumPhase
 number of phases of each orientations of disparity subchannels


Constructor & Destructor Documentation

StereoChannel::StereoChannel OptionManager mgr  ) 
 

Construct.

Definition at line 66 of file StereoChannel.C.

References buildSubChans().

StereoChannel::~StereoChannel  )  [virtual]
 

destructor

Definition at line 80 of file StereoChannel.C.


Member Function Documentation

void StereoChannel::buildSubChans  )  [protected, virtual]
 

(re-)build our subchannels

Definition at line 103 of file StereoChannel.C.

References ComplexChannel::addSubChan(), dispChan(), ModelComponent::exportOptions(), ModelComponent::getManager(), NModelParam< T >::getVal(), OModelParam< T >::getVal(), i, itsNumPhase, itsNumTheta, LINFO, makeSharedComp(), MC_RECURSE, phase(), ComplexChannel::removeAllSubChans(), DisparityChannel::setNumPhase(), and DisparityChannel::setNumTheta().

Referenced by paramChanged(), and StereoChannel().

DisparityChannel & StereoChannel::dispChan const uint  idO,
const uint  idP
const [virtual]
 

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

Definition at line 95 of file StereoChannel.C.

References NModelParam< T >::getVal(), itsNumPhase, and ComplexChannel::subChan().

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

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

StereoChannel only required luminosity input AT THIS POINT.

Implements ChannelBase.

Definition at line 210 of file StereoChannel.C.

References ASSERT, buildPyrGaussian(), dispChan(), DisparityChannel::doInput(), NModelParam< T >::getVal(), OModelParam< T >::getVal(), InputFrame::grayFloat(), i, Image< T >::initialized(), itsNumPhase, itsNumTheta, and DisparityChannel::setRawFilteredImages().

void StereoChannel::getRawFilteredImages Image< float > ****  fImgLE,
Image< float > ****  fImgRI
 

access method for easy viewing

Definition at line 273 of file StereoChannel.C.

void StereoChannel::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 194 of file StereoChannel.C.

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

void StereoChannel::setSecondImage const Image< float > *  bwimg  ) 
 

set the second image to complete stereo data

Definition at line 267 of file StereoChannel.C.

void StereoChannel::start1  )  [protected, virtual]
 

overload start1()

Reimplemented from ComplexChannel.

Definition at line 84 of file StereoChannel.C.

References dispChan(), SingleChannel::getLevelSpec(), and LevelSpec::maxDepth().


Member Data Documentation

NModelParam<uint> StereoChannel::itsNumPhase [protected]
 

number of phases of each orientations of disparity subchannels

Definition at line 81 of file StereoChannel.H.

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

OModelParam<uint> StereoChannel::itsNumTheta [protected]
 

number of orientations of disparity subchannels

Definition at line 78 of file StereoChannel.H.

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

NModelParam<PyramidType> StereoChannel::itsPyrType [protected]
 

type of pyramid to use in our DisparityChannel subcomponents

Definition at line 75 of file StereoChannel.H.


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:51:14 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4