Public Member Functions | Private Attributes | List of all members
rtabmap::PyMatcher Class Reference

#include <PyMatcher.h>

Public Member Functions

bool cuda () const
 
int iterations () const
 
std::vector< cv::DMatch > match (const cv::Mat &descriptorsQuery, const cv::Mat &descriptorsTrain, const std::vector< cv::KeyPoint > &keypointsQuery, const std::vector< cv::KeyPoint > &keypointsTrain, const cv::Size &imageSize)
 
float matchThreshold () const
 
const std::string & model () const
 
const std::string & path () const
 
 PyMatcher (const std::string &pythonMatcherPath, float matchThreshold=0.2f, int iterations=20, bool cuda=true, const std::string &model="indoor")
 
virtual ~PyMatcher ()
 

Private Attributes

bool cuda_
 
int iterations_
 
float matchThreshold_
 
std::string model_
 
std::string path_
 
PyObject * pFunc_
 
PyObject * pModule_
 

Detailed Description

Definition at line 19 of file PyMatcher.h.

Constructor & Destructor Documentation

rtabmap::PyMatcher::PyMatcher ( const std::string &  pythonMatcherPath,
float  matchThreshold = 0.2f,
int  iterations = 20,
bool  cuda = true,
const std::string &  model = "indoor" 
)

Definition at line 65 of file PyMatcher.cpp.

rtabmap::PyMatcher::~PyMatcher ( )
virtual

Definition at line 114 of file PyMatcher.cpp.

Member Function Documentation

bool rtabmap::PyMatcher::cuda ( ) const
inline

Definition at line 32 of file PyMatcher.h.

int rtabmap::PyMatcher::iterations ( ) const
inline

Definition at line 31 of file PyMatcher.h.

std::vector< cv::DMatch > rtabmap::PyMatcher::match ( const cv::Mat &  descriptorsQuery,
const cv::Mat &  descriptorsTrain,
const std::vector< cv::KeyPoint > &  keypointsQuery,
const std::vector< cv::KeyPoint > &  keypointsTrain,
const cv::Size &  imageSize 
)

Definition at line 126 of file PyMatcher.cpp.

float rtabmap::PyMatcher::matchThreshold ( ) const
inline

Definition at line 30 of file PyMatcher.h.

const std::string& rtabmap::PyMatcher::model ( ) const
inline

Definition at line 33 of file PyMatcher.h.

const std::string& rtabmap::PyMatcher::path ( ) const
inline

Definition at line 29 of file PyMatcher.h.

Member Data Documentation

bool rtabmap::PyMatcher::cuda_
private

Definition at line 48 of file PyMatcher.h.

int rtabmap::PyMatcher::iterations_
private

Definition at line 47 of file PyMatcher.h.

float rtabmap::PyMatcher::matchThreshold_
private

Definition at line 46 of file PyMatcher.h.

std::string rtabmap::PyMatcher::model_
private

Definition at line 49 of file PyMatcher.h.

std::string rtabmap::PyMatcher::path_
private

Definition at line 45 of file PyMatcher.h.

PyObject* rtabmap::PyMatcher::pFunc_
private

Definition at line 44 of file PyMatcher.h.

PyObject* rtabmap::PyMatcher::pModule_
private

Definition at line 43 of file PyMatcher.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09