31 #include "rtabmap/core/rtabmap_core_export.h"
34 #include <opencv2/core/core.hpp>
46 virtual void parseParameters(
const ParametersMap & parameters);
47 virtual std::vector<cv::Point2f> computeCorrespondences(
48 const cv::Mat & leftImage,
49 const cv::Mat & rightImage,
50 const std::vector<cv::Point2f> & leftCorners,
51 std::vector<unsigned char> & status)
const;
52 #ifdef HAVE_OPENCV_CUDEV
53 virtual std::vector<cv::Point2f> computeCorrespondences(
54 const cv::cuda::GpuMat & leftImage,
55 const cv::cuda::GpuMat & rightImage,
56 const std::vector<cv::Point2f> & leftCorners,
57 std::vector<unsigned char> & status)
const;
60 cv::Size
winSize()
const {
return cv::Size(winWidth_, winHeight_);}
65 bool winSSD()
const {
return winSSD_;}
83 virtual void parseParameters(
const ParametersMap & parameters);
84 virtual std::vector<cv::Point2f> computeCorrespondences(
85 const cv::Mat & leftImage,
86 const cv::Mat & rightImage,
87 const std::vector<cv::Point2f> & leftCorners,
88 std::vector<unsigned char> & status)
const;
90 #ifdef HAVE_OPENCV_CUDEV
91 virtual std::vector<cv::Point2f> computeCorrespondences(
92 const cv::cuda::GpuMat & leftImage,
93 const cv::cuda::GpuMat & rightImage,
94 const std::vector<cv::Point2f> & leftCorners,
95 std::vector<unsigned char> & status)
const;
99 virtual bool isGpuEnabled()
const;
103 const std::vector<cv::Point2f> & leftCorners,
104 const std::vector<cv::Point2f> & rightCorners,
105 std::vector<unsigned char> & status)
const;