#include <features2d.hpp>
Public Member Functions | |
FastAdjuster (int init_thresh=20, bool nonmax=true) | |
virtual bool | good () const |
virtual void | tooFew (int min, int n_detected) |
virtual void | tooMany (int max, int n_detected) |
Protected Member Functions | |
virtual void | detectImpl (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const |
Protected Attributes | |
bool | nonmax_ |
int | thresh_ |
cv::FastAdjuster::FastAdjuster | ( | int | init_thresh = 20 , |
|
bool | nonmax = true | |||
) |
init_thresh | the initial threshhold to start with, default = 20 | |
nonmax | whether to use non max or not for fast feature detection |
virtual void cv::FastAdjuster::detectImpl | ( | const Mat & | image, | |
vector< KeyPoint > & | keypoints, | |||
const Mat & | mask = Mat() | |||
) | const [protected, virtual] |
Implements cv::FeatureDetector.
virtual bool cv::FastAdjuster::good | ( | ) | const [virtual] |
are params maxed out or still valid?
Implements cv::AdjusterAdapter.
virtual void cv::FastAdjuster::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::FastAdjuster::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.
bool cv::FastAdjuster::nonmax_ [protected] |
int cv::FastAdjuster::thresh_ [protected] |