#include <features2d.hpp>
Inherits cv::AdjusterAdapter.
Public Member Functions | |
StarAdjuster (double initial_thresh=30.0, double min_thresh=2., double max_thresh=200.) | |
virtual void | tooFew (int min, int n_detected) |
virtual void | tooMany (int max, int n_detected) |
virtual bool | good () const |
virtual Ptr< AdjusterAdapter > | clone () 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 |
virtual bool | empty () const |
Static Public Member Functions | |
static Ptr< AdjusterAdapter > | 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 | |
double | thresh_ |
double | init_thresh_ |
double | min_thresh_ |
double | max_thresh_ |
CvStarDetectorParams | params_ |
An adjuster for StarFeatureDetector, this one adjusts the responseThreshold for now TODO find a faster way to converge the parameters for Star - use CvStarDetectorParams
cv::StarAdjuster::StarAdjuster | ( | double | initial_thresh = 30.0 , |
double | min_thresh = 2. , |
||
double | max_thresh = 200. |
||
) |
virtual void cv::StarAdjuster::tooFew | ( | int | min, |
int | n_detected | ||
) | [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 |
Implements cv::AdjusterAdapter.
virtual void cv::StarAdjuster::tooMany | ( | int | max, |
int | n_detected | ||
) | [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 |
Implements cv::AdjusterAdapter.
virtual bool cv::StarAdjuster::good | ( | ) | const [virtual] |
are params maxed out or still valid?
Implements cv::AdjusterAdapter.
virtual Ptr<AdjusterAdapter> cv::StarAdjuster::clone | ( | ) | const [virtual] |
Implements cv::AdjusterAdapter.
virtual void cv::StarAdjuster::detectImpl | ( | const Mat & | image, |
vector< KeyPoint > & | keypoints, | ||
const Mat & | mask = Mat() |
||
) | const [protected, virtual] |
Implements cv::FeatureDetector.
static Ptr<AdjusterAdapter> cv::AdjusterAdapter::create | ( | const string & | detectorType | ) | [static, inherited] |
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] |
Reimplemented in cv::DynamicAdaptedFeatureDetector, cv::PyramidAdaptedFeatureDetector, and cv::GridAdaptedFeatureDetector.
static void cv::FeatureDetector::removeInvalidPoints | ( | const Mat & | mask, |
vector< KeyPoint > & | keypoints | ||
) | [static, protected, inherited] |
double cv::StarAdjuster::thresh_ [protected] |
double cv::StarAdjuster::init_thresh_ [protected] |
double cv::StarAdjuster::min_thresh_ [protected] |
double cv::StarAdjuster::max_thresh_ [protected] |
CvStarDetectorParams cv::StarAdjuster::params_ [protected] |