#include <calib3d.hpp>
Public Types | |
| enum | { DISP_SHIFT =4, DISP_SCALE = (1<<DISP_SHIFT) } |
Public Member Functions | |
| StereoSGBM () | |
| the default constructor More... | |
| StereoSGBM (int minDisparity, int numDisparities, int SADWindowSize, int P1=0, int P2=0, int disp12MaxDiff=0, int preFilterCap=0, int uniquenessRatio=0, int speckleWindowSize=0, int speckleRange=0, bool fullDP=false) | |
| the full constructor taking all the necessary algorithm parameters More... | |
| virtual | ~StereoSGBM () |
| the destructor More... | |
| virtual void | operator() (InputArray left, InputArray right, OutputArray disp) |
| the stereo correspondence operator that computes disparity map for the specified rectified stereo pair More... | |
Public Attributes | |
| int | minDisparity |
| int | numberOfDisparities |
| int | SADWindowSize |
| int | preFilterCap |
| int | uniquenessRatio |
| int | P1 |
| int | P2 |
| int | speckleWindowSize |
| int | speckleRange |
| int | disp12MaxDiff |
| bool | fullDP |
Protected Attributes | |
| Mat | buffer |
Semi-Global Block Matching Stereo Correspondence Algorithm
The class implements the original SGBM stereo correspondence algorithm by H. Hirschmuller and some its modification.
| cv::StereoSGBM::StereoSGBM | ( | ) |
the default constructor
| cv::StereoSGBM::StereoSGBM | ( | int | minDisparity, |
| int | numDisparities, | ||
| int | SADWindowSize, | ||
| int | P1 = 0, |
||
| int | P2 = 0, |
||
| int | disp12MaxDiff = 0, |
||
| int | preFilterCap = 0, |
||
| int | uniquenessRatio = 0, |
||
| int | speckleWindowSize = 0, |
||
| int | speckleRange = 0, |
||
| bool | fullDP = false |
||
| ) |
the full constructor taking all the necessary algorithm parameters
|
virtual |
the destructor
|
virtual |
the stereo correspondence operator that computes disparity map for the specified rectified stereo pair
|
protected |
| int cv::StereoSGBM::disp12MaxDiff |
| bool cv::StereoSGBM::fullDP |
| int cv::StereoSGBM::minDisparity |
| int cv::StereoSGBM::numberOfDisparities |
| int cv::StereoSGBM::P1 |
| int cv::StereoSGBM::P2 |
| int cv::StereoSGBM::preFilterCap |
| int cv::StereoSGBM::SADWindowSize |
| int cv::StereoSGBM::speckleRange |
| int cv::StereoSGBM::speckleWindowSize |
| int cv::StereoSGBM::uniquenessRatio |