28 #ifndef UTIL3D_FEATURES_H_ 29 #define UTIL3D_FEATURES_H_ 33 #include <opencv2/calib3d/calib3d.hpp> 48 const std::vector<cv::KeyPoint> & keypoints,
49 const cv::Mat & depth,
50 const CameraModel & cameraModel,
55 const std::vector<cv::KeyPoint> & keypoints,
56 const cv::Mat & depth,
57 const std::vector<CameraModel> & cameraModels,
62 const std::vector<cv::KeyPoint> & keypoints,
63 const cv::Mat & disparity,
64 const StereoCameraModel & stereoCameraModel,
69 const std::vector<cv::Point2f> & leftCorners,
70 const std::vector<cv::Point2f> & rightCorners,
71 const StereoCameraModel & model,
72 const std::vector<unsigned char> &
mask = std::vector<unsigned char>(),
77 const std::map<int, cv::KeyPoint> & kpts,
78 const std::map<int, cv::KeyPoint> & previousKpts,
79 const CameraModel & cameraModel,
80 Transform & cameraTransform,
81 int pnpIterations = 100,
82 float pnpReprojError = 8.0f,
84 int pnpRefineIterations = 1,
85 float ransacParam1 = 3.0f,
86 float ransacParam2 = 0.99f,
87 const std::map<int, cv::Point3f> & refGuess3D = std::map<int, cv::Point3f>(),
88 double * variance = 0);
91 const std::list<int> & wordIds,
92 const std::vector<cv::KeyPoint> & keypoints);
GLM_FUNC_DECL genIType mask(genIType const &count)
std::map< int, cv::Point3f > RTABMAP_EXP generateWords3DMono(const std::map< int, cv::KeyPoint > &kpts, const std::map< int, cv::KeyPoint > &previousKpts, const CameraModel &cameraModel, Transform &cameraTransform, int pnpIterations=100, float pnpReprojError=8.0f, int pnpFlags=0, int pnpRefineIterations=1, float ransacParam1=3.0f, float ransacParam2=0.99f, const std::map< int, cv::Point3f > &refGuess3D=std::map< int, cv::Point3f >(), double *variance=0)
std::multimap< int, cv::KeyPoint > RTABMAP_EXP aggregate(const std::list< int > &wordIds, const std::vector< cv::KeyPoint > &keypoints)
std::vector< cv::Point3f > RTABMAP_EXP generateKeypoints3DDisparity(const std::vector< cv::KeyPoint > &keypoints, const cv::Mat &disparity, const StereoCameraModel &stereoCameraModel, float minDepth=0, float maxDepth=0)
std::vector< cv::Point3f > RTABMAP_EXP generateKeypoints3DDepth(const std::vector< cv::KeyPoint > &keypoints, const cv::Mat &depth, const CameraModel &cameraModel, float minDepth=0, float maxDepth=0)
std::vector< cv::Point3f > RTABMAP_EXP generateKeypoints3DStereo(const std::vector< cv::Point2f > &leftCorners, const std::vector< cv::Point2f > &rightCorners, const StereoCameraModel &model, const std::vector< unsigned char > &mask=std::vector< unsigned char >(), float minDepth=0, float maxDepth=0)