
#include <Channels/DisparityChannel.H>
Inheritance diagram for DisparityChannel:


Definition at line 45 of file DisparityChannel.H.
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< uint > | itsIndex |
| NModelParam< double > | itsOrientation |
| NModelParam< double > | itsPhase |
|
||||||||||||||||||||
|
Construct with standard params plus a disparity index for this object.
Definition at line 53 of file DisparityChannel.C. References ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), and sformat(). |
|
|
Destructor.
Definition at line 67 of file DisparityChannel.C. |
|
|
Get the preferred orientation (in degrees) of this channel.
Definition at line 82 of file DisparityChannel.C. References NModelParam< T >::getVal(), and itsOrientation. |
|
|
perform the disparity calculation
Reimplemented from SingleChannel. Definition at line 148 of file DisparityChannel.C. References buildPyrGaussian(), Image< T >::getHeight(), NModelParam< T >::getVal(), Image< T >::getWidth(), height, inplaceRectify(), itsPhase, p, shiftImage(), squared(), SingleChannel::storePyramid(), t, InputFrame::time(), width, and ZEROS. Referenced by StereoChannel::doInput(). |
|
|
access to the disparity even before stored in the queue (SingleChannel)
Definition at line 110 of file DisparityChannel.C. |
|
||||||||||||
|
access to the raw filtered images for easy viewing
Definition at line 102 of file DisparityChannel.C. |
|
||||||||||||
|
normalize the disparity map to [0, 1]
Definition at line 116 of file DisparityChannel.C. References getMinMax(), inplaceRectify(), rutz::max(), and rutz::min(). |
|
|
Get the preferred phase (in degrees) of this channel.
Definition at line 88 of file DisparityChannel.C. References NModelParam< T >::getVal(), and itsPhase. |
|
|
to get the dimensions of the raw filtered images from stereo channel
Definition at line 136 of file DisparityChannel.C. Referenced by StereoChannel::buildSubChans(). |
|
||||||||||||
|
set the raw filtered images from stereo channel to avoid redundancy
Definition at line 94 of file DisparityChannel.C. Referenced by StereoChannel::doInput(). |
|
|
overload start1()
Reimplemented from SingleChannel. Definition at line 71 of file DisparityChannel.C. References OModelParam< T >::getVal(), SingleChannel::itsLevelSpec, LevelSpec::maxDepth(), ImageSet< T >::reset(), and SingleChannel::start1(). |
1.4.4