cv::FastAdjuster Class Reference
an adjust for the FAST detector. This will basically decrement or increment the threshold by 1
More...
#include <features2d.hpp>
Inherits cv::AdjusterAdapter.
List of all members.
Public Member Functions |
| FastAdjuster (int init_thresh=20, bool nonmax=true, int min_thresh=1, int 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 |
int | thresh_ |
bool | nonmax_ |
int | init_thresh_ |
int | min_thresh_ |
int | max_thresh_ |
Detailed Description
an adjust for the FAST detector. This will basically decrement or increment the threshold by 1
Constructor & Destructor Documentation
cv::FastAdjuster::FastAdjuster |
( |
int |
init_thresh = 20 , |
|
|
bool |
nonmax = true , |
|
|
int |
min_thresh = 1 , |
|
|
int |
max_thresh = 200 | |
|
) |
| | |
- Parameters:
-
| init_thresh | the initial threshold to start with, default = 20 |
| nonmax | whether to use non max or not for fast feature detection |
Member Function Documentation
virtual void cv::FastAdjuster::tooFew |
( |
int |
min, |
|
|
int |
n_detected | |
|
) |
| | [virtual] |
too few features were detected so, adjust the detector params accordingly
- Parameters:
-
| min | the minimum number of desired features |
| n_detected | the number previously detected |
Implements cv::AdjusterAdapter.
virtual void cv::FastAdjuster::tooMany |
( |
int |
max, |
|
|
int |
n_detected | |
|
) |
| | [virtual] |
too many features were detected so, adjust the detector params accordingly
- Parameters:
-
| max | the maximum number of desired features |
| n_detected | the number previously detected |
Implements cv::AdjusterAdapter.
virtual bool cv::FastAdjuster::good |
( |
|
) |
const [virtual] |
are params maxed out or still valid?
- Returns:
- false if the parameters can't be adjusted any more
Implements cv::AdjusterAdapter.
virtual void cv::FastAdjuster::detectImpl |
( |
const Mat & |
image, |
|
|
vector< KeyPoint > & |
keypoints, |
|
|
const Mat & |
mask = Mat() | |
|
) |
| | const [protected, virtual] |
static Ptr<AdjusterAdapter> cv::AdjusterAdapter::create |
( |
const string & |
detectorType |
) |
[static, inherited] |
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] |
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: