|
| | StereoOpticalFlow (const ParametersMap ¶meters=ParametersMap()) |
| | Constructor.
|
| |
| virtual | ~StereoOpticalFlow () |
| | Virtual destructor.
|
| |
| virtual void | parseParameters (const ParametersMap ¶meters) |
| | Parse parameters from a parameters map.
|
| |
| virtual std::vector< cv::Point2f > | computeCorrespondences (const cv::Mat &leftImage, const cv::Mat &rightImage, const std::vector< cv::Point2f > &leftCorners, std::vector< unsigned char > &status) const |
| | Compute stereo correspondences using optical flow.
|
| |
| float | epsilon () const |
| | Get the convergence threshold (epsilon)
|
| |
| virtual bool | isGpuEnabled () const |
| | Check if GPU acceleration is enabled.
|
| |
| bool | usingMinEigenVals () const |
| |
| float | minEigThreshold () const |
| |
| float | errorThreshold () const |
| |
| | Stereo (const ParametersMap ¶meters=ParametersMap()) |
| | Constructor.
|
| |
| virtual | ~Stereo () |
| | Virtual destructor.
|
| |
| cv::Size | winSize () const |
| | Get the search window size.
|
| |
| int | iterations () const |
| | Get the number of iterations.
|
| |
| int | maxLevel () const |
| | Get the maximum pyramid level.
|
| |
| float | minDisparity () const |
| | Get the minimum disparity value.
|
| |
| float | maxDisparity () const |
| | Get the maximum disparity value.
|
| |
| bool | winSSD () const |
| | Check if SSD (Sum of Squared Differences) is used.
|
| |
Sparse stereo matching using optical flow.
This class implements sparse stereo matching using optical flow (Lucas-Kanade) to find corresponding feature points between stereo image pairs. It extends the base Stereo class with optical flow-based matching, which can be more robust than simple block matching, especially for textured regions.
The algorithm uses pyramidal Lucas-Kanade optical flow to track feature points from the left image to the right image, then filters the results based on disparity constraints.
- Note
- Input images must be grayscale (CV_8UC1).
-
GPU acceleration is available if RTAB-Map is built with OpenCV CUDA support.
- See also
- Stereo for block matching-based implementation
Definition at line 219 of file Stereo.h.