stereo-vision
Public Member Functions
DisparityThread Class Reference

The class defining the disparity computation. More...

#include <disparityThread.h>

Inherits PeriodicThread.

Public Member Functions

 DisparityThread (const string &name, yarp::os::ResourceFinder &rf, bool useHorn=true, bool updateCamera=false, bool rectify=true)
 
void setImages (const Mat &left, const Mat &right)
 
void getDisparity (Mat &Disp)
 
Point3f get3DPointMatch (double u1, double v1, double u2, double v2, string drive)
 
void getDisparityFloat (Mat &Disp)
 
void getQMat (Mat &Q)
 
void getMapper (Mat &Mapper)
 
void getRectMatrix (Mat &RL)
 
void triangulate (Point2f &pixel, Point3f &point)
 
bool checkDone ()
 
void getRootTransformation (Mat &Trans, int eye=LEFT)
 
bool isOpen ()
 
void setDispParameters (bool _useBestDisp, int _uniquenessRatio, int _speckleWindowSize, int _speckleRange, int _numberOfDisparities, int _SADWindowSize, int _minDisparity, int _preFilterCap, int _disp12MaxDiff)
 
void updateCamerasOnce ()
 
void startUpdate ()
 
void stopUpdate ()
 
bool threadInit ()
 
void threadRelease ()
 
void run ()
 
void onStop ()
 

Detailed Description

The class defining the disparity computation.

It computes the depth map and it updates the icub's eye relative positions.

Definition at line 47 of file disparityThread.h.


The documentation for this class was generated from the following files: