OpenCV  2.4.13.5
Open Source Computer Vision
cv::ocl::StereoConstantSpaceBP Class Reference

#include <ocl.hpp>

Public Types

enum  { DEFAULT_NDISP = 128 }
 
enum  { DEFAULT_ITERS = 8 }
 
enum  { DEFAULT_LEVELS = 4 }
 
enum  { DEFAULT_NR_PLANE = 4 }
 

Public Member Functions

 StereoConstantSpaceBP (int ndisp=DEFAULT_NDISP, int iters=DEFAULT_ITERS, int levels=DEFAULT_LEVELS, int nr_plane=DEFAULT_NR_PLANE, int msg_type=CV_32F)
 
 StereoConstantSpaceBP (int ndisp, int iters, int levels, int nr_plane, float max_data_term, float data_weight, float max_disc_term, float disc_single_jump, int min_disp_th=0, int msg_type=CV_32F)
 
void operator() (const oclMat &left, const oclMat &right, oclMat &disparity)
 

Static Public Member Functions

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

Public Attributes

int ndisp
 
int iters
 
int levels
 
int nr_plane
 
float max_data_term
 
float data_weight
 
float max_disc_term
 
float disc_single_jump
 
int min_disp_th
 
int msg_type
 
bool use_local_init_data_cost
 

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
DEFAULT_NDISP 

§ anonymous enum

anonymous enum
Enumerator
DEFAULT_ITERS 

§ anonymous enum

anonymous enum
Enumerator
DEFAULT_LEVELS 

§ anonymous enum

anonymous enum
Enumerator
DEFAULT_NR_PLANE 

Constructor & Destructor Documentation

§ StereoConstantSpaceBP() [1/2]

cv::ocl::StereoConstantSpaceBP::StereoConstantSpaceBP ( int  ndisp = DEFAULT_NDISP,
int  iters = DEFAULT_ITERS,
int  levels = DEFAULT_LEVELS,
int  nr_plane = DEFAULT_NR_PLANE,
int  msg_type = CV_32F 
)
explicit

§ StereoConstantSpaceBP() [2/2]

cv::ocl::StereoConstantSpaceBP::StereoConstantSpaceBP ( int  ndisp,
int  iters,
int  levels,
int  nr_plane,
float  max_data_term,
float  data_weight,
float  max_disc_term,
float  disc_single_jump,
int  min_disp_th = 0,
int  msg_type = CV_32F 
)

Member Function Documentation

§ estimateRecommendedParams()

static void cv::ocl::StereoConstantSpaceBP::estimateRecommendedParams ( int  width,
int  height,
int ndisp,
int iters,
int levels,
int nr_plane 
)
static

§ operator()()

void cv::ocl::StereoConstantSpaceBP::operator() ( const oclMat left,
const oclMat right,
oclMat disparity 
)

Member Data Documentation

§ data_weight

float cv::ocl::StereoConstantSpaceBP::data_weight

§ disc_single_jump

float cv::ocl::StereoConstantSpaceBP::disc_single_jump

§ iters

int cv::ocl::StereoConstantSpaceBP::iters

§ levels

int cv::ocl::StereoConstantSpaceBP::levels

§ max_data_term

float cv::ocl::StereoConstantSpaceBP::max_data_term

§ max_disc_term

float cv::ocl::StereoConstantSpaceBP::max_disc_term

§ min_disp_th

int cv::ocl::StereoConstantSpaceBP::min_disp_th

§ msg_type

int cv::ocl::StereoConstantSpaceBP::msg_type

§ ndisp

int cv::ocl::StereoConstantSpaceBP::ndisp

§ nr_plane

int cv::ocl::StereoConstantSpaceBP::nr_plane

§ use_local_init_data_cost

bool cv::ocl::StereoConstantSpaceBP::use_local_init_data_cost

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