#include <features2d.hpp>
Inherits cv::FeatureDetector.
Public Member Functions | |
OrbFeatureDetector (size_t n_features=700, ORB::CommonParams params=ORB::CommonParams()) | |
virtual void | read (const cv::FileNode &) |
virtual void | write (cv::FileStorage &) const |
void | detect (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const |
void | detect (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints, const vector< Mat > &masks=vector< Mat >()) const |
virtual bool | empty () const |
Static Public Member Functions | |
static Ptr< FeatureDetector > | create (const string &detectorType) |
Protected Member Functions | |
virtual void | detectImpl (const cv::Mat &image, std::vector< cv::KeyPoint > &keypoints, const cv::Mat &mask=cv::Mat()) const |
Static Protected Member Functions | |
static void | removeInvalidPoints (const Mat &mask, vector< KeyPoint > &keypoints) |
Feature detector for the ORB feature Basically fast followed by a Harris check
cv::OrbFeatureDetector::OrbFeatureDetector | ( | size_t | n_features = 700 , |
ORB::CommonParams | params = ORB::CommonParams() |
||
) |
Default constructor
n_features | the number of desired features |
params | parameters to use |
virtual void cv::OrbFeatureDetector::read | ( | const cv::FileNode & | ) | [virtual] |
Reimplemented from cv::FeatureDetector.
virtual void cv::OrbFeatureDetector::write | ( | cv::FileStorage & | ) | const [virtual] |
Reimplemented from cv::FeatureDetector.
virtual void cv::OrbFeatureDetector::detectImpl | ( | const cv::Mat & | image, |
std::vector< cv::KeyPoint > & | keypoints, | ||
const cv::Mat & | mask = cv::Mat() |
||
) | const [protected, virtual] |
Implements cv::FeatureDetector.
void cv::FeatureDetector::detect | ( | const Mat & | image, |
vector< KeyPoint > & | keypoints, | ||
const Mat & | mask = Mat() |
||
) | const [inherited] |
void cv::FeatureDetector::detect | ( | const vector< Mat > & | images, |
vector< vector< KeyPoint > > & | keypoints, | ||
const vector< Mat > & | masks = vector< Mat >() |
||
) | const [inherited] |
virtual bool cv::FeatureDetector::empty | ( | ) | const [virtual, inherited] |
Reimplemented in cv::DynamicAdaptedFeatureDetector, cv::PyramidAdaptedFeatureDetector, and cv::GridAdaptedFeatureDetector.
static Ptr<FeatureDetector> cv::FeatureDetector::create | ( | const string & | detectorType | ) | [static, inherited] |
Reimplemented in cv::AdjusterAdapter.
static void cv::FeatureDetector::removeInvalidPoints | ( | const Mat & | mask, |
vector< KeyPoint > & | keypoints | ||
) | [static, protected, inherited] |