#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...
|
|
§ anonymous enum
§ anonymous enum
§ anonymous enum
§ StereoBeliefPropagation() [1/2]
§ StereoBeliefPropagation() [2/2]
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
§ estimateRecommendedParams()
static void cv::gpu::StereoBeliefPropagation::estimateRecommendedParams |
( |
int |
width, |
|
|
int |
height, |
|
|
int & |
ndisp, |
|
|
int & |
iters, |
|
|
int & |
levels |
|
) |
| |
|
static |
§ operator()() [1/2]
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().
§ operator()() [2/2]
version for user specified data term
§ data_weight
float cv::gpu::StereoBeliefPropagation::data_weight |
§ disc_single_jump
float cv::gpu::StereoBeliefPropagation::disc_single_jump |
§ iters
int cv::gpu::StereoBeliefPropagation::iters |
§ levels
int cv::gpu::StereoBeliefPropagation::levels |
§ max_data_term
float cv::gpu::StereoBeliefPropagation::max_data_term |
§ max_disc_term
float cv::gpu::StereoBeliefPropagation::max_disc_term |
§ msg_type
int cv::gpu::StereoBeliefPropagation::msg_type |
§ ndisp
int cv::gpu::StereoBeliefPropagation::ndisp |
The documentation for this class was generated from the following file: