Block Matching Stereo Correspondence Algorithm. More...
#include <calib3d.hpp>
Public Types | |
enum | { PREFILTER_NORMALIZED_RESPONSE = 0, PREFILTER_XSOBEL = 1, BASIC_PRESET = 0, FISH_EYE_PRESET = 1, NARROW_PRESET = 2 } |
Public Member Functions | |
CV_WRAP | StereoBM () |
the default constructor | |
CV_WRAP | StereoBM (int preset, int ndisparities=0, int SADWindowSize=21) |
the full constructor taking the camera-specific preset, number of disparities and the SAD window size | |
void | init (int preset, int ndisparities=0, int SADWindowSize=21) |
the method that reinitializes the state. The previous content is destroyed | |
CV_WRAP_AS (compute) void operator()(InputArray left | |
the stereo correspondence operator. Finds the disparity for the specified rectified stereo pair | |
Public Attributes | |
InputArray | right |
InputArray OutputArray | disparity |
InputArray OutputArray int | disptype = CV_16S ) |
Ptr< CvStereoBMState > | state |
pointer to the underlying CvStereoBMState |
Block Matching Stereo Correspondence Algorithm.
The class implements BM stereo correspondence algorithm by K. Konolige.
anonymous enum |
CV_WRAP cv::StereoBM::StereoBM | ( | ) |
the default constructor
CV_WRAP cv::StereoBM::StereoBM | ( | int | preset, | |
int | ndisparities = 0 , |
|||
int | SADWindowSize = 21 | |||
) |
the full constructor taking the camera-specific preset, number of disparities and the SAD window size
void cv::StereoBM::init | ( | int | preset, | |
int | ndisparities = 0 , |
|||
int | SADWindowSize = 21 | |||
) |
the method that reinitializes the state. The previous content is destroyed
cv::StereoBM::CV_WRAP_AS | ( | compute | ) |
the stereo correspondence operator. Finds the disparity for the specified rectified stereo pair
InputArray OutputArray int cv::StereoBM::disptype = CV_16S ) |
pointer to the underlying CvStereoBMState