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

#include <PyDetector.h>

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

Public Member Functions

virtual Feature2D::Type getType () const
 
virtual void parseParameters (const ParametersMap &parameters)
 
 PyDetector (const ParametersMap &parameters=ParametersMap())
 
virtual ~PyDetector ()
 
- Public Member Functions inherited from rtabmap::Feature2D
cv::Mat generateDescriptors (const cv::Mat &image, std::vector< cv::KeyPoint > &keypoints) const
 
std::vector< cv::KeyPoint > generateKeypoints (const cv::Mat &image, const cv::Mat &mask=cv::Mat())
 
std::vector< cv::Point3f > generateKeypoints3D (const SensorData &data, const std::vector< cv::KeyPoint > &keypoints) const
 
int getGridCols () const
 
int getGridRows () const
 
float getMaxDepth () const
 
int getMaxFeatures () const
 
float getMinDepth () const
 
virtual const ParametersMapgetParameters () const
 
virtual ~Feature2D ()
 
- Public Member Functions inherited from rtabmap::PythonInterface
 PythonInterface ()
 
virtual ~PythonInterface ()
 

Private Member Functions

virtual cv::Mat generateDescriptorsImpl (const cv::Mat &image, std::vector< cv::KeyPoint > &keypoints) const
 
virtual std::vector< cv::KeyPoint > generateKeypointsImpl (const cv::Mat &image, const cv::Rect &roi, const cv::Mat &mask=cv::Mat())
 

Private Attributes

bool cuda_
 
cv::Mat descriptors_
 
std::string path_
 
PyObject * pFunc_
 
PyObject * pModule_
 

Additional Inherited Members

- Public Types inherited from rtabmap::Feature2D
enum  Type {
  kFeatureUndef =-1, kFeatureSurf =0, kFeatureSift =1, kFeatureOrb =2,
  kFeatureFastFreak =3, kFeatureFastBrief =4, kFeatureGfttFreak =5, kFeatureGfttBrief =6,
  kFeatureBrisk =7, kFeatureGfttOrb =8, kFeatureKaze =9, kFeatureOrbOctree =10,
  kFeatureSuperPointTorch =11, kFeatureSurfFreak =12, kFeatureGfttDaisy =13, kFeatureSurfDaisy =14,
  kFeaturePyDetector =15
}
 
- Static Public Member Functions inherited from rtabmap::Feature2D
static cv::Rect computeRoi (const cv::Mat &image, const std::string &roiRatios)
 
static cv::Rect computeRoi (const cv::Mat &image, const std::vector< float > &roiRatios)
 
static Feature2Dcreate (const ParametersMap &parameters=ParametersMap())
 
static Feature2Dcreate (Feature2D::Type type, const ParametersMap &parameters=ParametersMap())
 
static void filterKeypointsByDepth (std::vector< cv::KeyPoint > &keypoints, const cv::Mat &depth, float minDepth, float maxDepth)
 
static void filterKeypointsByDepth (std::vector< cv::KeyPoint > &keypoints, cv::Mat &descriptors, const cv::Mat &depth, float minDepth, float maxDepth)
 
static void filterKeypointsByDepth (std::vector< cv::KeyPoint > &keypoints, cv::Mat &descriptors, std::vector< cv::Point3f > &keypoints3D, float minDepth, float maxDepth)
 
static void filterKeypointsByDisparity (std::vector< cv::KeyPoint > &keypoints, const cv::Mat &disparity, float minDisparity)
 
static void filterKeypointsByDisparity (std::vector< cv::KeyPoint > &keypoints, cv::Mat &descriptors, const cv::Mat &disparity, float minDisparity)
 
static void limitKeypoints (std::vector< cv::KeyPoint > &keypoints, int maxKeypoints)
 
static void limitKeypoints (std::vector< cv::KeyPoint > &keypoints, cv::Mat &descriptors, int maxKeypoints)
 
static void limitKeypoints (std::vector< cv::KeyPoint > &keypoints, std::vector< cv::Point3f > &keypoints3D, cv::Mat &descriptors, int maxKeypoints)
 
static void limitKeypoints (const std::vector< cv::KeyPoint > &keypoints, std::vector< bool > &inliers, int maxKeypoints)
 
static void limitKeypoints (const std::vector< cv::KeyPoint > &keypoints, std::vector< bool > &inliers, int maxKeypoints, const cv::Size &imageSize, int gridRows, int gridCols)
 
static std::string typeName (Type type)
 
- Protected Member Functions inherited from rtabmap::Feature2D
 Feature2D (const ParametersMap &parameters=ParametersMap())
 
- 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 21 of file PyDetector.h.

Constructor & Destructor Documentation

◆ PyDetector()

rtabmap::PyDetector::PyDetector ( const ParametersMap parameters = ParametersMap())

Definition at line 19 of file PyDetector.cpp.

◆ ~PyDetector()

rtabmap::PyDetector::~PyDetector ( )
virtual

Definition at line 63 of file PyDetector.cpp.

Member Function Documentation

◆ generateDescriptorsImpl()

cv::Mat rtabmap::PyDetector::generateDescriptorsImpl ( const cv::Mat &  image,
std::vector< cv::KeyPoint > &  keypoints 
) const
privatevirtual

Implements rtabmap::Feature2D.

Definition at line 228 of file PyDetector.cpp.

◆ generateKeypointsImpl()

std::vector< cv::KeyPoint > rtabmap::PyDetector::generateKeypointsImpl ( const cv::Mat &  image,
const cv::Rect &  roi,
const cv::Mat &  mask = cv::Mat() 
)
privatevirtual

Implements rtabmap::Feature2D.

Definition at line 89 of file PyDetector.cpp.

◆ getType()

virtual Feature2D::Type rtabmap::PyDetector::getType ( ) const
inlinevirtual

Implements rtabmap::Feature2D.

Definition at line 28 of file PyDetector.h.

◆ parseParameters()

void rtabmap::PyDetector::parseParameters ( const ParametersMap parameters)
virtual

Reimplemented from rtabmap::Feature2D.

Definition at line 79 of file PyDetector.cpp.

Member Data Documentation

◆ cuda_

bool rtabmap::PyDetector::cuda_
private

Definition at line 38 of file PyDetector.h.

◆ descriptors_

cv::Mat rtabmap::PyDetector::descriptors_
private

Definition at line 39 of file PyDetector.h.

◆ path_

std::string rtabmap::PyDetector::path_
private

Definition at line 37 of file PyDetector.h.

◆ pFunc_

PyObject* rtabmap::PyDetector::pFunc_
private

Definition at line 36 of file PyDetector.h.

◆ pModule_

PyObject* rtabmap::PyDetector::pModule_
private

Definition at line 35 of file PyDetector.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