DisparityChannel Class Reference

An disparity channel. More...

#include <Channels/DisparityChannel.H>

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

List of all members.

Public Member Functions

 DisparityChannel (OptionManager &mgr, const uint dIndex, const double ang, const double pha)
 Construct with standard params plus a disparity index for this object.
virtual ~DisparityChannel ()
 Destructor.
double angle () const
 Get the preferred orientation (in degrees) of this channel.
double phase () const
 Get the preferred phase (in degrees) of this channel.
void setRawFilteredImages (Image< float > ***fImgLE, Image< float > ***fImgRI)
 set the raw filtered images from stereo channel to avoid redundancy
void getRawFilteredImages (Image< float > ****fImgLE, Image< float > ****fImgRI)
 access to the raw filtered images for easy viewing
void getDispMap (ImageSet< float > *dMap)
 access to the disparity even before stored in the queue (SingleChannel)
void normalizeDispMap (ImageSet< float > tDispMap, int nChan)
 normalize the disparity map to [0, 1]
void setNumPhase (int n)
 to get the dimensions of the raw filtered images from stereo channel
void setNumTheta (int t)
void doInput (const InputFrame &inframe)
 perform the disparity calculation
void storePyramid (const SimTime &t)
void start1 ()
 overload start1()

Protected Attributes

NModelParam< uintitsIndex
NModelParam< double > itsOrientation
NModelParam< double > itsPhase

Detailed Description

An disparity channel.

Definition at line 45 of file DisparityChannel.H.


Constructor & Destructor Documentation

DisparityChannel::DisparityChannel ( OptionManager mgr,
const uint  dIndex,
const double  ang,
const double  pha 
)

Construct with standard params plus a disparity index for this object.

Parameters:
dIndex is used for various indexing such as with ParamMap and Jet interfacing.
ang is the preferred orientation disparity for this channel, in degrees (0..180).
pha is the preferred phase disparity for this channel, in degrees (0..360).

Definition at line 53 of file DisparityChannel.C.

References ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), and sformat().

DisparityChannel::~DisparityChannel (  )  [virtual]

Destructor.

Definition at line 67 of file DisparityChannel.C.


Member Function Documentation

double DisparityChannel::angle (  )  const

Get the preferred orientation (in degrees) of this channel.

Definition at line 82 of file DisparityChannel.C.

References NModelParam< T >::getVal().

void DisparityChannel::doInput ( const InputFrame inframe  )  [virtual]
void DisparityChannel::getDispMap ( ImageSet< float > *  dMap  ) 

access to the disparity even before stored in the queue (SingleChannel)

Definition at line 110 of file DisparityChannel.C.

void DisparityChannel::getRawFilteredImages ( Image< float > ****  fImgLE,
Image< float > ****  fImgRI 
)

access to the raw filtered images for easy viewing

Definition at line 102 of file DisparityChannel.C.

void DisparityChannel::normalizeDispMap ( ImageSet< float >  tDispMap,
int  nChan 
)

normalize the disparity map to [0, 1]

Definition at line 116 of file DisparityChannel.C.

References getMinMax(), inplaceRectify(), max(), and min().

double DisparityChannel::phase (  )  const

Get the preferred phase (in degrees) of this channel.

Definition at line 88 of file DisparityChannel.C.

References NModelParam< T >::getVal().

void DisparityChannel::setNumPhase ( int  n  ) 

to get the dimensions of the raw filtered images from stereo channel

Definition at line 136 of file DisparityChannel.C.

Referenced by StereoChannel::buildSubChans().

void DisparityChannel::setRawFilteredImages ( Image< float > ***  fImgLE,
Image< float > ***  fImgRI 
)

set the raw filtered images from stereo channel to avoid redundancy

Definition at line 94 of file DisparityChannel.C.

Referenced by StereoChannel::doInput().

void DisparityChannel::start1 (  )  [virtual]

overload start1()

Reimplemented from SingleChannel.

Definition at line 71 of file DisparityChannel.C.

References OModelParam< T >::getVal(), LevelSpec::maxDepth(), and ImageSet< T >::reset().


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