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

#include <PyMatcher.h>

Inheritance diagram for rtabmap::PyMatcher:
Inheritance graph
[legend]

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::stringmodel () const
 
const std::stringpath () const
 
 PyMatcher (const std::string &pythonMatcherPath, float matchThreshold=0.2f, int iterations=20, bool cuda=true, const std::string &model="indoor")
 
virtual ~PyMatcher ()
 
- Public Member Functions inherited from rtabmap::PythonInterface
 PythonInterface ()
 
virtual ~PythonInterface ()
 

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from rtabmap::PythonInterface
std::string getTraceback ()
 
void lock ()
 
void unlock ()
 
- Protected Attributes inherited from rtabmap::PythonInterface
PyThreadState * threadState_
 
- Static Protected Attributes inherited from rtabmap::PythonInterface
static unsigned long mainThreadID_ = 0
 
static PyThreadState * mainThreadState_ = 0
 

Detailed Description

Definition at line 19 of file PyMatcher.h.

Constructor & Destructor Documentation

◆ PyMatcher()

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 19 of file PyMatcher.cpp.

◆ ~PyMatcher()

rtabmap::PyMatcher::~PyMatcher ( )
virtual

Definition at line 68 of file PyMatcher.cpp.

Member Function Documentation

◆ cuda()

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

Definition at line 32 of file PyMatcher.h.

◆ iterations()

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

Definition at line 31 of file PyMatcher.h.

◆ match()

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 82 of file PyMatcher.cpp.

◆ matchThreshold()

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

Definition at line 30 of file PyMatcher.h.

◆ model()

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

Definition at line 33 of file PyMatcher.h.

◆ path()

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

Definition at line 29 of file PyMatcher.h.

Member Data Documentation

◆ cuda_

bool rtabmap::PyMatcher::cuda_
private

Definition at line 48 of file PyMatcher.h.

◆ iterations_

int rtabmap::PyMatcher::iterations_
private

Definition at line 47 of file PyMatcher.h.

◆ matchThreshold_

float rtabmap::PyMatcher::matchThreshold_
private

Definition at line 46 of file PyMatcher.h.

◆ model_

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

Definition at line 49 of file PyMatcher.h.

◆ path_

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

Definition at line 45 of file PyMatcher.h.

◆ pFunc_

PyObject* rtabmap::PyMatcher::pFunc_
private

Definition at line 44 of file PyMatcher.h.

◆ pModule_

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 Jan 23 2023 03:39:00