Public Types | Public Member Functions | Public Attributes
cv::StereoVar Class Reference

#include <contrib.hpp>

List of all members.

Public Types

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

Public Member Functions

CV_WRAP StereoVar ()
 the default constructor
CV_WRAP 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 ~StereoVar ()
 the destructor
 CV_WRAP_AS (compute) virtual void operator()(const Mat &left
 the stereo correspondence operator that computes disparity map for the specified rectified stereo pair

Public Attributes

const Matright
const Mat Matdisp
CV_PROP_RW int levels
CV_PROP_RW double pyrScale
CV_PROP_RW int nIt
CV_PROP_RW int minDisp
CV_PROP_RW int maxDisp
CV_PROP_RW int poly_n
CV_PROP_RW double poly_sigma
CV_PROP_RW float fi
CV_PROP_RW float lambda
CV_PROP_RW int penalization
CV_PROP_RW int cycle
CV_PROP_RW int flags

Member Enumeration Documentation

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

Constructor & Destructor Documentation

the default constructor

CV_WRAP 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

cv::StereoVar::CV_WRAP_AS ( compute  ) const

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


Member Data Documentation

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

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