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>
Public Member Functions | |
virtual bool | good () const =0 |
virtual void | tooFew (int min, int n_detected)=0 |
virtual void | tooMany (int max, int n_detected)=0 |
virtual | ~AdjusterAdapter () |
Static Public Member Functions | |
static Ptr< AdjusterAdapter > | create (const string &detectorType) |
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.
virtual cv::AdjusterAdapter::~AdjusterAdapter | ( | ) | [inline, virtual] |
pure virtual interface
static Ptr<AdjusterAdapter> cv::AdjusterAdapter::create | ( | const string & | detectorType ) | [static] |
Reimplemented from cv::FeatureDetector.
virtual bool cv::AdjusterAdapter::good | ( | ) | const [pure virtual] |
are params maxed out or still valid?
Implemented in cv::FastAdjuster, cv::StarAdjuster, and cv::SurfAdjuster.
virtual void cv::AdjusterAdapter::tooFew | ( | int | min, |
int | n_detected | ||
) | [pure virtual] |
too few features were detected so, adjust the detector params accordingly
min | the minimum number of desired features |
n_detected | the number previously detected |
Implemented in cv::FastAdjuster, cv::StarAdjuster, and cv::SurfAdjuster.
virtual void cv::AdjusterAdapter::tooMany | ( | int | max, |
int | n_detected | ||
) | [pure virtual] |
too many features were detected so, adjust the detector params accordingly
max | the maximum number of desired features |
n_detected | the number previously detected |
Implemented in cv::FastAdjuster, cv::StarAdjuster, and cv::SurfAdjuster.