Open Detection
1.0
|
#include <ODFeatureDetector2D.h>
Public Types | |
enum | FeatureType { SIFT, SURF, ORB, SIFT_GPU, ORB_GPU } |
Public Member Functions | |
ODFeatureDetector2D (std::string feature_type, bool use_gpu) | |
ODFeatureDetector2D (FeatureType type) | |
void | computeKeypointsAndDescriptors (cv::Mat const &image, cv::Mat &descriptors, std::vector< cv::KeyPoint > &keypoints) |
void | findSiftGPUDescriptors (char const *image_name, cv::Mat &descriptors, std::vector< cv::KeyPoint > &keypoints) |
void | findSiftGPUDescriptors (cv::Mat const &image, cv::Mat &descriptors, std::vector< cv::KeyPoint > &keypoints) |
void | computeAndSave (cv::Mat const &image, std::string const path) |
Public Attributes | |
int | mode_ |
Definition at line 21 of file ODFeatureDetector2D.h.
Enumerator | |
---|---|
SIFT | |
SURF | |
ORB | |
SIFT_GPU | |
ORB_GPU |
Definition at line 27 of file ODFeatureDetector2D.h.
od::ODFeatureDetector2D::ODFeatureDetector2D | ( | std::string | feature_type, |
bool | use_gpu | ||
) |
|
inline |
Definition at line 34 of file ODFeatureDetector2D.h.
References computeAndSave(), computeKeypointsAndDescriptors(), findSiftGPUDescriptors(), mode_, ORB, ORB_GPU, SIFT, SIFT_GPU, and SURF.
void od::ODFeatureDetector2D::computeAndSave | ( | cv::Mat const & | image, |
std::string const | path | ||
) |
Referenced by ODFeatureDetector2D().
void od::ODFeatureDetector2D::computeKeypointsAndDescriptors | ( | cv::Mat const & | image, |
cv::Mat & | descriptors, | ||
std::vector< cv::KeyPoint > & | keypoints | ||
) |
Referenced by ODFeatureDetector2D().
void od::ODFeatureDetector2D::findSiftGPUDescriptors | ( | char const * | image_name, |
cv::Mat & | descriptors, | ||
std::vector< cv::KeyPoint > & | keypoints | ||
) |
Referenced by ODFeatureDetector2D().
void od::ODFeatureDetector2D::findSiftGPUDescriptors | ( | cv::Mat const & | image, |
cv::Mat & | descriptors, | ||
std::vector< cv::KeyPoint > & | keypoints | ||
) |
int od::ODFeatureDetector2D::mode_ |
Definition at line 32 of file ODFeatureDetector2D.h.
Referenced by ODFeatureDetector2D().