OpenCV  2.4.13
Open Source Computer Vision
cv::ocl::StereoBeliefPropagation Class Reference

#include <ocl.hpp>

Public Types

enum  { DEFAULT_NDISP = 64 }
 
enum  { DEFAULT_ITERS = 5 }
 
enum  { DEFAULT_LEVELS = 5 }
 

Public Member Functions

 StereoBeliefPropagation (int ndisp=DEFAULT_NDISP, int iters=DEFAULT_ITERS, int levels=DEFAULT_LEVELS, int msg_type=CV_16S)
 
 StereoBeliefPropagation (int ndisp, int iters, int levels, float max_data_term, float data_weight, float max_disc_term, float disc_single_jump, int msg_type=CV_32F)
 
void operator() (const oclMat &left, const oclMat &right, oclMat &disparity)
 
void operator() (const oclMat &data, oclMat &disparity)
 

Static Public Member Functions

static void estimateRecommendedParams (int width, int height, int &ndisp, int &iters, int &levels)
 

Public Attributes

int ndisp
 
int iters
 
int levels
 
float max_data_term
 
float data_weight
 
float max_disc_term
 
float disc_single_jump
 
int msg_type
 

Member Enumeration Documentation

anonymous enum
Enumerator
DEFAULT_NDISP 
anonymous enum
Enumerator
DEFAULT_ITERS 
anonymous enum
Enumerator
DEFAULT_LEVELS 

Constructor & Destructor Documentation

cv::ocl::StereoBeliefPropagation::StereoBeliefPropagation ( int  ndisp = DEFAULT_NDISP,
int  iters = DEFAULT_ITERS,
int  levels = DEFAULT_LEVELS,
int  msg_type = CV_16S 
)
explicit
cv::ocl::StereoBeliefPropagation::StereoBeliefPropagation ( int  ndisp,
int  iters,
int  levels,
float  max_data_term,
float  data_weight,
float  max_disc_term,
float  disc_single_jump,
int  msg_type = CV_32F 
)

Member Function Documentation

static void cv::ocl::StereoBeliefPropagation::estimateRecommendedParams ( int  width,
int  height,
int ndisp,
int iters,
int levels 
)
static
void cv::ocl::StereoBeliefPropagation::operator() ( const oclMat left,
const oclMat right,
oclMat disparity 
)
void cv::ocl::StereoBeliefPropagation::operator() ( const oclMat data,
oclMat disparity 
)

Member Data Documentation

float cv::ocl::StereoBeliefPropagation::data_weight
float cv::ocl::StereoBeliefPropagation::disc_single_jump
int cv::ocl::StereoBeliefPropagation::iters
int cv::ocl::StereoBeliefPropagation::levels
float cv::ocl::StereoBeliefPropagation::max_data_term
float cv::ocl::StereoBeliefPropagation::max_disc_term
int cv::ocl::StereoBeliefPropagation::msg_type
int cv::ocl::StereoBeliefPropagation::ndisp

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