#include <gpu.hpp>
List of all members.
Public Types |
enum | { DEFAULT_NDISP = 64
} |
enum | { DEFAULT_ITERS = 5
} |
enum | { DEFAULT_LEVELS = 5
} |
Public Member Functions |
| StereoBeliefPropagation (int ndisp=DEFAULT_NDISP, int iters=DEFAULT_ITERS, int levels=DEFAULT_LEVELS, int msg_type=CV_32F) |
| the default constructor
|
| 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
|
Static Public Member Functions |
static void | estimateRecommendedParams (int width, int height, int &ndisp, int &iters, int &levels) |
Public Attributes |
int | ndisp |
int | iters |
int | levels |
float | max_data_term |
float | data_weight |
float | max_disc_term |
float | disc_single_jump |
int | msg_type |
Member Enumeration Documentation
Constructor & Destructor Documentation
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
Member Function Documentation
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
Member Data Documentation
The documentation for this class was generated from the following file: