OpenCV  2.4.13.6
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

anonymous enum
Enumerator
USE_INITIAL_DISPARITY 
USE_EQUALIZE_HIST 
USE_SMART_ID 
USE_AUTO_PARAMS 
USE_MEDIAN_FILTERING 

§ anonymous enum

anonymous enum
Enumerator
CYCLE_O 
CYCLE_V 

§ anonymous enum

anonymous enum
Enumerator
PENALIZATION_TICHONOV 
PENALIZATION_CHARBONNIER 
PENALIZATION_PERONA_MALIK 

Constructor & Destructor Documentation

§ StereoVar() [1/2]

cv::StereoVar::StereoVar ( )

the default constructor

§ StereoVar() [2/2]

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

§ ~StereoVar()

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

the destructor

Member Function Documentation

§ operator()()

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

§ cycle

int cv::StereoVar::cycle

§ fi

float cv::StereoVar::fi

§ flags

int cv::StereoVar::flags

§ lambda

float cv::StereoVar::lambda

§ levels

int cv::StereoVar::levels

§ maxDisp

int cv::StereoVar::maxDisp

§ minDisp

int cv::StereoVar::minDisp

§ nIt

int cv::StereoVar::nIt

§ penalization

int cv::StereoVar::penalization

§ poly_n

int cv::StereoVar::poly_n

§ poly_sigma

double cv::StereoVar::poly_sigma

§ pyrScale

double cv::StereoVar::pyrScale

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