Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
cv::GridAdaptedFeatureDetector Class Reference

#include <features2d.hpp>

Inherits cv::FeatureDetector.

List of all members.

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< FeatureDetectorcreate (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< FeatureDetectordetector
int maxTotalKeypoints
int gridRows
int gridCols

Constructor & Destructor Documentation

cv::GridAdaptedFeatureDetector::GridAdaptedFeatureDetector ( const Ptr< FeatureDetector > &  detector,
int  maxTotalKeypoints = 1000,
int  gridRows = 4,
int  gridCols = 4 
)

Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following file: