#include <features2d.hpp>
Inherits cv::FeatureDetector.
Public Member Functions | |
GridAdaptedFeatureDetector (const Ptr< FeatureDetector > &detector, int maxTotalKeypoints=1000, int gridRows=4, int gridCols=4) | |
virtual bool | empty () 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 void | read (const FileNode &) |
virtual void | write (FileStorage &) const |
Static Public Member Functions | |
static Ptr< FeatureDetector > | create (const string &detectorType) |
Protected Member Functions | |
virtual void | detectImpl (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const |
Static Protected Member Functions | |
static void | removeInvalidPoints (const Mat &mask, vector< KeyPoint > &keypoints) |
Protected Attributes | |
Ptr< FeatureDetector > | detector |
int | maxTotalKeypoints |
int | gridRows |
int | gridCols |
cv::GridAdaptedFeatureDetector::GridAdaptedFeatureDetector | ( | const Ptr< FeatureDetector > & | detector, |
int | maxTotalKeypoints = 1000 , |
||
int | gridRows = 4 , |
||
int | gridCols = 4 |
||
) |
virtual bool cv::GridAdaptedFeatureDetector::empty | ( | ) | const [virtual] |
Reimplemented from cv::FeatureDetector.
virtual void cv::GridAdaptedFeatureDetector::detectImpl | ( | const Mat & | image, |
vector< KeyPoint > & | keypoints, | ||
const Mat & | mask = 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 void cv::FeatureDetector::read | ( | const FileNode & | ) | [virtual, inherited] |
virtual void cv::FeatureDetector::write | ( | FileStorage & | ) | const [virtual, inherited] |
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] |
Ptr<FeatureDetector> cv::GridAdaptedFeatureDetector::detector [protected] |
int cv::GridAdaptedFeatureDetector::maxTotalKeypoints [protected] |
int cv::GridAdaptedFeatureDetector::gridRows [protected] |
int cv::GridAdaptedFeatureDetector::gridCols [protected] |