OpenCV  2.4.13
Open Source Computer Vision
cv::StereoVar Class Reference

#include <contrib.hpp>

Public Types

enum  {
  USE_INITIAL_DISPARITY = 1, USE_EQUALIZE_HIST = 2, USE_SMART_ID = 4, USE_AUTO_PARAMS = 8,
  USE_MEDIAN_FILTERING = 16
}
 
enum  { CYCLE_O, CYCLE_V }
 
enum  { PENALIZATION_TICHONOV, PENALIZATION_CHARBONNIER, PENALIZATION_PERONA_MALIK }
 

Public Member Functions

 StereoVar ()
 the default constructor More...
 
 StereoVar (int levels, double pyrScale, int nIt, int minDisp, int maxDisp, int poly_n, double poly_sigma, float fi, float lambda, int penalization, int cycle, int flags)
 the full constructor taking all the necessary algorithm parameters More...
 
virtual ~StereoVar ()
 the destructor More...
 
virtual void operator() (const Mat &left, const Mat &right, CV_OUT Mat &disp)
 the stereo correspondence operator that computes disparity map for the specified rectified stereo pair More...
 

Public Attributes

int levels
 
double pyrScale
 
int nIt
 
int minDisp
 
int maxDisp
 
int poly_n
 
double poly_sigma
 
float fi
 
float lambda
 
int penalization
 
int cycle
 
int flags
 

Member Enumeration Documentation

anonymous enum
Enumerator
USE_INITIAL_DISPARITY 
USE_EQUALIZE_HIST 
USE_SMART_ID 
USE_AUTO_PARAMS 
USE_MEDIAN_FILTERING 
anonymous enum
Enumerator
CYCLE_O 
CYCLE_V 
anonymous enum
Enumerator
PENALIZATION_TICHONOV 
PENALIZATION_CHARBONNIER 
PENALIZATION_PERONA_MALIK 

Constructor & Destructor Documentation

cv::StereoVar::StereoVar ( )

the default constructor

cv::StereoVar::StereoVar ( int  levels,
double  pyrScale,
int  nIt,
int  minDisp,
int  maxDisp,
int  poly_n,
double  poly_sigma,
float  fi,
float  lambda,
int  penalization,
int  cycle,
int  flags 
)

the full constructor taking all the necessary algorithm parameters

virtual cv::StereoVar::~StereoVar ( )
virtual

the destructor

Member Function Documentation

virtual void cv::StereoVar::operator() ( const Mat left,
const Mat right,
CV_OUT Mat disp 
)
virtual

the stereo correspondence operator that computes disparity map for the specified rectified stereo pair

Member Data Documentation

int cv::StereoVar::cycle
float cv::StereoVar::fi
int cv::StereoVar::flags
float cv::StereoVar::lambda
int cv::StereoVar::levels
int cv::StereoVar::maxDisp
int cv::StereoVar::minDisp
int cv::StereoVar::nIt
int cv::StereoVar::penalization
int cv::StereoVar::poly_n
double cv::StereoVar::poly_sigma
double cv::StereoVar::pyrScale

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