#include <features2d.hpp>
Inherits cv::FeatureDetector.
Public Member Functions | |
SiftFeatureDetector (const SIFT::DetectorParams &detectorParams=SIFT::DetectorParams(), const SIFT::CommonParams &commonParams=SIFT::CommonParams()) | |
SiftFeatureDetector (double threshold, double edgeThreshold, int nOctaves=SIFT::CommonParams::DEFAULT_NOCTAVES, int nOctaveLayers=SIFT::CommonParams::DEFAULT_NOCTAVE_LAYERS, int firstOctave=SIFT::CommonParams::DEFAULT_FIRST_OCTAVE, int angleMode=SIFT::CommonParams::FIRST_ANGLE) | |
virtual void | read (const FileNode &fn) |
virtual void | write (FileStorage &fs) 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 bool | empty () const |
Static Public Member Functions | |
static Ptr< FeatureDetector > | 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 | |
SIFT | sift |
cv::SiftFeatureDetector::SiftFeatureDetector | ( | const SIFT::DetectorParams & | detectorParams = SIFT::DetectorParams() , |
const SIFT::CommonParams & | commonParams = SIFT::CommonParams() |
||
) |
cv::SiftFeatureDetector::SiftFeatureDetector | ( | double | threshold, |
double | edgeThreshold, | ||
int | nOctaves = SIFT::CommonParams::DEFAULT_NOCTAVES , |
||
int | nOctaveLayers = SIFT::CommonParams::DEFAULT_NOCTAVE_LAYERS , |
||
int | firstOctave = SIFT::CommonParams::DEFAULT_FIRST_OCTAVE , |
||
int | angleMode = SIFT::CommonParams::FIRST_ANGLE |
||
) |
virtual void cv::SiftFeatureDetector::read | ( | const FileNode & | fn | ) | [virtual] |
Reimplemented from cv::FeatureDetector.
virtual void cv::SiftFeatureDetector::write | ( | FileStorage & | fs | ) | const [virtual] |
Reimplemented from cv::FeatureDetector.
virtual void cv::SiftFeatureDetector::detectImpl | ( | const Mat & | image, |
vector< KeyPoint > & | keypoints, | ||
const Mat & | mask = Mat() |
||
) | const [protected, virtual] |
Implements 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 bool cv::FeatureDetector::empty | ( | ) | const [virtual, inherited] |
Reimplemented in cv::DynamicAdaptedFeatureDetector, cv::PyramidAdaptedFeatureDetector, and cv::GridAdaptedFeatureDetector.
static Ptr<FeatureDetector> cv::FeatureDetector::create | ( | const string & | detectorType | ) | [static, inherited] |
Reimplemented in cv::AdjusterAdapter.
static void cv::FeatureDetector::removeInvalidPoints | ( | const Mat & | mask, |
vector< KeyPoint > & | keypoints | ||
) | [static, protected, inherited] |
SIFT cv::SiftFeatureDetector::sift [protected] |