|
RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
|
Semi-Global Block Matching algorithm for dense stereo matching. More...
#include <StereoSGBM.h>


Public Member Functions | |
| StereoSGBM (const ParametersMap ¶meters=ParametersMap()) | |
| Constructor with parameters map. | |
| virtual | ~StereoSGBM () |
| Virtual destructor. | |
| virtual void | parseParameters (const ParametersMap ¶meters) |
| Parse parameters from a parameters map. | |
| virtual cv::Mat | computeDisparity (const cv::Mat &leftImage, const cv::Mat &rightImage) const |
| Compute disparity map from stereo image pair. | |
Public Member Functions inherited from rtabmap::StereoDense | |
| virtual | ~StereoDense () |
| Virtual destructor. | |
Additional Inherited Members | |
Public Types inherited from rtabmap::StereoDense | |
| enum | Type { kTypeBM = 0 , kTypeSGBM = 1 } |
| Enumeration of available stereo matching algorithm types. More... | |
Static Public Member Functions inherited from rtabmap::StereoDense | |
| static StereoDense * | create (const ParametersMap ¶meters) |
| Factory method to create a StereoDense instance from parameters. | |
| static StereoDense * | create (StereoDense::Type type, const ParametersMap ¶meters=ParametersMap()) |
| Factory method to create a StereoDense instance of a specific type. | |
Protected Member Functions inherited from rtabmap::StereoDense | |
| StereoDense (const ParametersMap ¶meters=ParametersMap()) | |
| Protected constructor. | |
Semi-Global Block Matching algorithm for dense stereo matching.
This class implements the Semi-Global Block Matching (SGBM) algorithm for computing disparity maps from stereo image pairs.
SGBM generally produces more accurate results than Block Matching, especially in textureless regions and areas with repetitive patterns, but is computationally more expensive.
Definition at line 51 of file StereoSGBM.h.
| rtabmap::StereoSGBM::StereoSGBM | ( | const ParametersMap & | parameters = ParametersMap() | ) |
Constructor with parameters map.
Creates a StereoSGBM instance and initializes it from the provided parameters map.
| parameters | Parameters map containing configuration values |
|
inlinevirtual |
Virtual destructor.
Definition at line 65 of file StereoSGBM.h.
|
virtual |
Parse parameters from a parameters map.
Updates the algorithm's configuration based on the provided parameters map. Supported parameters:
| parameters | Parameters map containing configuration values |
Reimplemented from rtabmap::StereoDense.
|
virtual |
Compute disparity map from stereo image pair.
Computes a disparity map using the Semi-Global Block Matching algorithm. The images must have the same size and be either grayscale (CV_8UC1) or color (CV_8UC3). Color images are automatically converted to grayscale.
| leftImage | Left stereo image (CV_8UC1 or CV_8UC3) |
| rightImage | Right stereo image (CV_8UC1 or CV_8UC3), must have same size as leftImage |
Implements rtabmap::StereoDense.