#include <gpu.hpp>
|
| StereoBeliefPropagation (int ndisp=DEFAULT_NDISP, int iters=DEFAULT_ITERS, int levels=DEFAULT_LEVELS, int msg_type=CV_32F) |
| the default constructor More...
|
|
| 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 GpuMat &left, const GpuMat &right, GpuMat &disparity, Stream &stream=Stream::Null()) |
|
void | operator() (const GpuMat &data, GpuMat &disparity, Stream &stream=Stream::Null()) |
| version for user specified data term More...
|
|
cv::gpu::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 |
|
) |
| |
the full constructor taking the number of disparities, number of BP iterations on each level, number of levels, truncation of data cost, data weight, truncation of discontinuity cost and discontinuity single jump DataTerm = data_weight * min(fabs(I2-I1), max_data_term) DiscTerm = min(disc_single_jump * fabs(f1-f2), max_disc_term) please see paper for more details
static void cv::gpu::StereoBeliefPropagation::estimateRecommendedParams |
( |
int |
width, |
|
|
int |
height, |
|
|
int & |
ndisp, |
|
|
int & |
iters, |
|
|
int & |
levels |
|
) |
| |
|
static |
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().
version for user specified data term
float cv::gpu::StereoBeliefPropagation::data_weight |
float cv::gpu::StereoBeliefPropagation::disc_single_jump |
int cv::gpu::StereoBeliefPropagation::iters |
int cv::gpu::StereoBeliefPropagation::levels |
float cv::gpu::StereoBeliefPropagation::max_data_term |
float cv::gpu::StereoBeliefPropagation::max_disc_term |
int cv::gpu::StereoBeliefPropagation::msg_type |
int cv::gpu::StereoBeliefPropagation::ndisp |
The documentation for this class was generated from the following file: