OpenCV  2.4.13.2
Open Source Computer Vision
cv::ocl::StereoBM_OCL Class Reference

#include <ocl.hpp>

Public Types

enum  { BASIC_PRESET = 0, PREFILTER_XSOBEL = 1 }
 
enum  { DEFAULT_NDISP = 64, DEFAULT_WINSZ = 19 }
 

Public Member Functions

 StereoBM_OCL ()
 the default constructor More...
 
 StereoBM_OCL (int preset, int ndisparities=DEFAULT_NDISP, int winSize=DEFAULT_WINSZ)
 the full constructor taking the camera-specific preset, number of disparities and the SAD window size. ndisparities must be multiple of 8. More...
 
void operator() (const oclMat &left, const oclMat &right, oclMat &disparity)
 

Static Public Member Functions

static bool checkIfGpuCallReasonable ()
 Some heuristics that tries to estmate. More...
 

Public Attributes

int preset
 
int ndisp
 
int winSize
 
float avergeTexThreshold
 

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
BASIC_PRESET 
PREFILTER_XSOBEL 

§ anonymous enum

anonymous enum
Enumerator
DEFAULT_NDISP 
DEFAULT_WINSZ 

Constructor & Destructor Documentation

§ StereoBM_OCL() [1/2]

cv::ocl::StereoBM_OCL::StereoBM_OCL ( )

the default constructor

§ StereoBM_OCL() [2/2]

cv::ocl::StereoBM_OCL::StereoBM_OCL ( int  preset,
int  ndisparities = DEFAULT_NDISP,
int  winSize = DEFAULT_WINSZ 
)

the full constructor taking the camera-specific preset, number of disparities and the SAD window size. ndisparities must be multiple of 8.

Member Function Documentation

§ checkIfGpuCallReasonable()

static bool cv::ocl::StereoBM_OCL::checkIfGpuCallReasonable ( )
static

Some heuristics that tries to estmate.

§ operator()()

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

the stereo correspondence operator. Finds the disparity for the specified rectified stereo pair Output disparity has CV_8U type.

Member Data Documentation

§ avergeTexThreshold

float cv::ocl::StereoBM_OCL::avergeTexThreshold

§ ndisp

int cv::ocl::StereoBM_OCL::ndisp

§ preset

int cv::ocl::StereoBM_OCL::preset

§ winSize

int cv::ocl::StereoBM_OCL::winSize

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