#include <Features2d.h>
|
enum | Type {
kFeatureUndef =-1,
kFeatureSurf =0,
kFeatureSift =1,
kFeatureOrb =2,
kFeatureFastFreak =3,
kFeatureFastBrief =4,
kFeatureGfttFreak =5,
kFeatureGfttBrief =6,
kFeatureBrisk =7,
kFeatureGfttOrb =8,
kFeatureKaze =9
} |
|
|
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 Feature2D * | create (const ParametersMap ¶meters=ParametersMap()) |
|
static Feature2D * | create (Feature2D::Type type, const ParametersMap ¶meters=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 | 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) |
|
|
virtual cv::Mat | generateDescriptorsImpl (const cv::Mat &image, std::vector< cv::KeyPoint > &keypoints) const =0 |
|
virtual std::vector< cv::KeyPoint > | generateKeypointsImpl (const cv::Mat &image, const cv::Rect &roi, const cv::Mat &mask=cv::Mat()) const =0 |
|
Definition at line 96 of file Features2d.h.
Enumerator |
---|
kFeatureUndef |
|
kFeatureSurf |
|
kFeatureSift |
|
kFeatureOrb |
|
kFeatureFastFreak |
|
kFeatureFastBrief |
|
kFeatureGfttFreak |
|
kFeatureGfttBrief |
|
kFeatureBrisk |
|
kFeatureGfttOrb |
|
kFeatureKaze |
|
Definition at line 98 of file Features2d.h.
rtabmap::Feature2D::~Feature2D |
( |
| ) |
|
|
virtual |
cv::Rect rtabmap::Feature2D::computeRoi |
( |
const cv::Mat & |
image, |
|
|
const std::string & |
roiRatios |
|
) |
| |
|
static |
cv::Rect rtabmap::Feature2D::computeRoi |
( |
const cv::Mat & |
image, |
|
|
const std::vector< float > & |
roiRatios |
|
) |
| |
|
static |
void rtabmap::Feature2D::filterKeypointsByDepth |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
const cv::Mat & |
depth, |
|
|
float |
minDepth, |
|
|
float |
maxDepth |
|
) |
| |
|
static |
void rtabmap::Feature2D::filterKeypointsByDepth |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
cv::Mat & |
descriptors, |
|
|
const cv::Mat & |
depth, |
|
|
float |
minDepth, |
|
|
float |
maxDepth |
|
) |
| |
|
static |
void rtabmap::Feature2D::filterKeypointsByDisparity |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
const cv::Mat & |
disparity, |
|
|
float |
minDisparity |
|
) |
| |
|
static |
void rtabmap::Feature2D::filterKeypointsByDisparity |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
cv::Mat & |
descriptors, |
|
|
const cv::Mat & |
disparity, |
|
|
float |
minDisparity |
|
) |
| |
|
static |
cv::Mat rtabmap::Feature2D::generateDescriptors |
( |
const cv::Mat & |
image, |
|
|
std::vector< cv::KeyPoint > & |
keypoints |
|
) |
| const |
virtual cv::Mat rtabmap::Feature2D::generateDescriptorsImpl |
( |
const cv::Mat & |
image, |
|
|
std::vector< cv::KeyPoint > & |
keypoints |
|
) |
| const |
|
privatepure virtual |
Implemented in rtabmap::KAZE, rtabmap::BRISK, rtabmap::GFTT_ORB, rtabmap::GFTT_FREAK, rtabmap::GFTT_BRIEF, rtabmap::FAST_FREAK, rtabmap::FAST_BRIEF, rtabmap::FAST, rtabmap::ORB, rtabmap::SIFT, and rtabmap::SURF.
std::vector< cv::KeyPoint > rtabmap::Feature2D::generateKeypoints |
( |
const cv::Mat & |
image, |
|
|
const cv::Mat & |
mask = cv::Mat() |
|
) |
| const |
std::vector< cv::Point3f > rtabmap::Feature2D::generateKeypoints3D |
( |
const SensorData & |
data, |
|
|
const std::vector< cv::KeyPoint > & |
keypoints |
|
) |
| const |
virtual std::vector<cv::KeyPoint> rtabmap::Feature2D::generateKeypointsImpl |
( |
const cv::Mat & |
image, |
|
|
const cv::Rect & |
roi, |
|
|
const cv::Mat & |
mask = cv::Mat() |
|
) |
| const |
|
privatepure virtual |
float rtabmap::Feature2D::getMaxDepth |
( |
| ) |
const |
|
inline |
int rtabmap::Feature2D::getMaxFeatures |
( |
| ) |
const |
|
inline |
float rtabmap::Feature2D::getMinDepth |
( |
| ) |
const |
|
inline |
virtual const ParametersMap& rtabmap::Feature2D::getParameters |
( |
| ) |
const |
|
inlinevirtual |
Implemented in rtabmap::KAZE, rtabmap::BRISK, rtabmap::GFTT_ORB, rtabmap::GFTT_FREAK, rtabmap::GFTT_BRIEF, rtabmap::FAST_FREAK, rtabmap::FAST_BRIEF, rtabmap::FAST, rtabmap::ORB, rtabmap::SIFT, and rtabmap::SURF.
void rtabmap::Feature2D::limitKeypoints |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
int |
maxKeypoints |
|
) |
| |
|
static |
void rtabmap::Feature2D::limitKeypoints |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
cv::Mat & |
descriptors, |
|
|
int |
maxKeypoints |
|
) |
| |
|
static |
void rtabmap::Feature2D::limitKeypoints |
( |
std::vector< cv::KeyPoint > & |
keypoints, |
|
|
std::vector< cv::Point3f > & |
keypoints3D, |
|
|
cv::Mat & |
descriptors, |
|
|
int |
maxKeypoints |
|
) |
| |
|
static |
void rtabmap::Feature2D::limitKeypoints |
( |
const std::vector< cv::KeyPoint > & |
keypoints, |
|
|
std::vector< bool > & |
inliers, |
|
|
int |
maxKeypoints |
|
) |
| |
|
static |
void rtabmap::Feature2D::parseParameters |
( |
const ParametersMap & |
parameters | ) |
|
|
virtual |
Reimplemented in rtabmap::KAZE, rtabmap::BRISK, rtabmap::GFTT_ORB, rtabmap::GFTT_FREAK, rtabmap::GFTT_BRIEF, rtabmap::GFTT, rtabmap::FAST_FREAK, rtabmap::FAST_BRIEF, rtabmap::FAST, rtabmap::ORB, rtabmap::SIFT, and rtabmap::SURF.
Definition at line 341 of file Features2d.cpp.
float rtabmap::Feature2D::_maxDepth |
|
private |
float rtabmap::Feature2D::_minDepth |
|
private |
std::vector<float> rtabmap::Feature2D::_roiRatios |
|
private |
Stereo* rtabmap::Feature2D::_stereo |
|
private |
double rtabmap::Feature2D::_subPixEps |
|
private |
int rtabmap::Feature2D::_subPixIterations |
|
private |
int rtabmap::Feature2D::_subPixWinSize |
|
private |
int rtabmap::Feature2D::gridCols_ |
|
private |
int rtabmap::Feature2D::gridRows_ |
|
private |
int rtabmap::Feature2D::maxFeatures_ |
|
private |
The documentation for this class was generated from the following files: