#include <gpu.hpp>
|
| StereoConstantSpaceBP (int ndisp=DEFAULT_NDISP, int iters=DEFAULT_ITERS, int levels=DEFAULT_LEVELS, int nr_plane=DEFAULT_NR_PLANE, int msg_type=CV_32F) |
| the default constructor More...
|
|
| 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 GpuMat &left, const GpuMat &right, GpuMat &disparity, Stream &stream=Stream::Null()) |
|
§ anonymous enum
§ anonymous enum
§ anonymous enum
§ anonymous enum
Enumerator |
---|
DEFAULT_NR_PLANE | |
§ StereoConstantSpaceBP() [1/2]
§ StereoConstantSpaceBP() [2/2]
cv::gpu::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 |
|
) |
| |
the full constructor taking the number of disparities, number of BP iterations on each level, number of levels, number of active disparity on the first level, truncation of data cost, data weight, truncation of discontinuity cost, discontinuity single jump and minimum disparity threshold
§ estimateRecommendedParams()
static void cv::gpu::StereoConstantSpaceBP::estimateRecommendedParams |
( |
int |
width, |
|
|
int |
height, |
|
|
int & |
ndisp, |
|
|
int & |
iters, |
|
|
int & |
levels, |
|
|
int & |
nr_plane |
|
) |
| |
|
static |
§ operator()()
the stereo correspondence operator. Finds the disparity for the specified rectified stereo pair, if disparity is empty output type will be CV_16S else output type will be disparity.type().
§ data_weight
float cv::gpu::StereoConstantSpaceBP::data_weight |
§ disc_single_jump
float cv::gpu::StereoConstantSpaceBP::disc_single_jump |
§ iters
int cv::gpu::StereoConstantSpaceBP::iters |
§ levels
int cv::gpu::StereoConstantSpaceBP::levels |
§ max_data_term
float cv::gpu::StereoConstantSpaceBP::max_data_term |
§ max_disc_term
float cv::gpu::StereoConstantSpaceBP::max_disc_term |
§ min_disp_th
int cv::gpu::StereoConstantSpaceBP::min_disp_th |
§ msg_type
int cv::gpu::StereoConstantSpaceBP::msg_type |
§ ndisp
int cv::gpu::StereoConstantSpaceBP::ndisp |
§ nr_plane
int cv::gpu::StereoConstantSpaceBP::nr_plane |
§ use_local_init_data_cost
bool cv::gpu::StereoConstantSpaceBP::use_local_init_data_cost |
The documentation for this class was generated from the following file: