Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
cv::AdjusterAdapter Class Reference

A feature detector parameter adjuster, this is used by the DynamicAdaptedFeatureDetector and is a wrapper for FeatureDetector that allow them to be adjusted after a detection. More...

#include <features2d.hpp>

Inherits cv::FeatureDetector.

Inherited by cv::FastAdjuster, cv::StarAdjuster, and cv::SurfAdjuster.

List of all members.

Public Member Functions

virtual ~AdjusterAdapter ()
virtual void tooFew (int min, int n_detected)=0
virtual void tooMany (int max, int n_detected)=0
virtual bool good () const =0
virtual Ptr< AdjusterAdapterclone () const =0
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
virtual bool empty () const

Static Public Member Functions

static Ptr< AdjusterAdaptercreate (const string &detectorType)

Protected Member Functions

virtual void detectImpl (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const =0

Static Protected Member Functions

static void removeInvalidPoints (const Mat &mask, vector< KeyPoint > &keypoints)

Detailed Description

A feature detector parameter adjuster, this is used by the DynamicAdaptedFeatureDetector and is a wrapper for FeatureDetector that allow them to be adjusted after a detection.


Constructor & Destructor Documentation

pure virtual interface


Member Function Documentation

virtual void cv::AdjusterAdapter::tooFew ( int  min,
int  n_detected 
) [pure virtual]

too few features were detected so, adjust the detector params accordingly

Parameters:
minthe minimum number of desired features
n_detectedthe number previously detected

Implemented in cv::SurfAdjuster, cv::StarAdjuster, and cv::FastAdjuster.

virtual void cv::AdjusterAdapter::tooMany ( int  max,
int  n_detected 
) [pure virtual]

too many features were detected so, adjust the detector params accordingly

Parameters:
maxthe maximum number of desired features
n_detectedthe number previously detected

Implemented in cv::SurfAdjuster, cv::StarAdjuster, and cv::FastAdjuster.

virtual bool cv::AdjusterAdapter::good ( ) const [pure virtual]

are params maxed out or still valid?

Returns:
false if the parameters can't be adjusted any more

Implemented in cv::SurfAdjuster, cv::StarAdjuster, and cv::FastAdjuster.

virtual Ptr<AdjusterAdapter> cv::AdjusterAdapter::clone ( ) const [pure virtual]
static Ptr<AdjusterAdapter> cv::AdjusterAdapter::create ( const string &  detectorType) [static]

Reimplemented from 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]
virtual bool cv::FeatureDetector::empty ( ) const [virtual, inherited]
virtual void cv::FeatureDetector::detectImpl ( const Mat image,
vector< KeyPoint > &  keypoints,
const Mat mask = Mat() 
) const [protected, pure virtual, inherited]
static void cv::FeatureDetector::removeInvalidPoints ( const Mat mask,
vector< KeyPoint > &  keypoints 
) [static, protected, inherited]

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