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


Public Member Functions | |
| StereoBM (int blockSize, int numDisparities) | |
| Constructor with explicit block size and number of disparities. | |
| StereoBM (const ParametersMap ¶meters=ParametersMap()) | |
| Constructor with parameters map. | |
| virtual | ~StereoBM () |
| 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. | |
Block Matching algorithm for dense stereo matching.
This class implements the Block Matching (BM) algorithm for computing disparity maps from stereo image pairs.
Definition at line 47 of file StereoBM.h.
| rtabmap::StereoBM::StereoBM | ( | int | blockSize, |
| int | numDisparities | ||
| ) |
Constructor with explicit block size and number of disparities.
| blockSize | Size of the block window for matching (must be odd, typically 5-21) |
| numDisparities | Number of disparity levels to search (must be divisible by 16) |
| rtabmap::StereoBM::StereoBM | ( | const ParametersMap & | parameters = ParametersMap() | ) |
Constructor with parameters map.
Creates a StereoBM instance and initializes it from the provided parameters map.
| parameters | Parameters map containing configuration values |
|
inlinevirtual |
Virtual destructor.
Definition at line 69 of file StereoBM.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 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.