#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 | |
StereoBM () | |
the default constructor More... | |
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 More... | |
void | init (int preset, int ndisparities=0, int SADWindowSize=21) |
the method that reinitializes the state. The previous content is destroyed More... | |
void | operator() (InputArray left, InputArray right, OutputArray disparity, int disptype=CV_16S) |
the stereo correspondence operator. Finds the disparity for the specified rectified stereo pair More... | |
Public Attributes | |
Ptr< CvStereoBMState > | state |
pointer to the underlying CvStereoBMState More... | |
Block Matching Stereo Correspondence Algorithm
The class implements BM stereo correspondence algorithm by K. Konolige.
anonymous enum |
cv::StereoBM::StereoBM | ( | ) |
the default constructor
the full constructor taking the camera-specific preset, number of disparities and the SAD window size
the method that reinitializes the state. The previous content is destroyed
void cv::StereoBM::operator() | ( | InputArray | left, |
InputArray | right, | ||
OutputArray | disparity, | ||
int | disptype = CV_16S |
||
) |
the stereo correspondence operator. Finds the disparity for the specified rectified stereo pair
Ptr<CvStereoBMState> cv::StereoBM::state |
pointer to the underlying CvStereoBMState