opencv
2.2.0
|
#include <features2d.hpp>
Classes | |
struct | CommonParams |
struct | DescriptorParams |
struct | DetectorParams |
Public Member Functions | |
int | descriptorSize () const |
returns the descriptor size in floats (128) | |
CommonParams | getCommonParams () const |
DescriptorParams | getDescriptorParams () const |
DetectorParams | getDetectorParams () const |
void | operator() (const Mat &img, const Mat &mask, vector< KeyPoint > &keypoints) const |
finds the keypoints using SIFT algorithm | |
void | operator() (const Mat &img, const Mat &mask, vector< KeyPoint > &keypoints, Mat &descriptors, bool useProvidedKeypoints=false) const |
SIFT () | |
SIFT (double _threshold, double _edgeThreshold, int _nOctaves=CommonParams::DEFAULT_NOCTAVES, int _nOctaveLayers=CommonParams::DEFAULT_NOCTAVE_LAYERS, int _firstOctave=CommonParams::DEFAULT_FIRST_OCTAVE, int _angleMode=CommonParams::FIRST_ANGLE) | |
sift-detector constructor | |
SIFT (double _magnification, bool _isNormalize=true, bool _recalculateAngles=true, int _nOctaves=CommonParams::DEFAULT_NOCTAVES, int _nOctaveLayers=CommonParams::DEFAULT_NOCTAVE_LAYERS, int _firstOctave=CommonParams::DEFAULT_FIRST_OCTAVE, int _angleMode=CommonParams::FIRST_ANGLE) | |
sift-descriptor constructor | |
SIFT (const CommonParams &_commParams, const DetectorParams &_detectorParams=DetectorParams(), const DescriptorParams &_descriptorParams=DescriptorParams()) | |
Protected Attributes | |
CommonParams | commParams |
DescriptorParams | descriptorParams |
DetectorParams | detectorParams |
cv::SIFT::SIFT | ( | ) |
cv::SIFT::SIFT | ( | double | _threshold, |
double | _edgeThreshold, | ||
int | _nOctaves = CommonParams::DEFAULT_NOCTAVES , |
||
int | _nOctaveLayers = CommonParams::DEFAULT_NOCTAVE_LAYERS , |
||
int | _firstOctave = CommonParams::DEFAULT_FIRST_OCTAVE , |
||
int | _angleMode = CommonParams::FIRST_ANGLE |
||
) |
sift-detector constructor
cv::SIFT::SIFT | ( | double | _magnification, |
bool | _isNormalize = true , |
||
bool | _recalculateAngles = true , |
||
int | _nOctaves = CommonParams::DEFAULT_NOCTAVES , |
||
int | _nOctaveLayers = CommonParams::DEFAULT_NOCTAVE_LAYERS , |
||
int | _firstOctave = CommonParams::DEFAULT_FIRST_OCTAVE , |
||
int | _angleMode = CommonParams::FIRST_ANGLE |
||
) |
sift-descriptor constructor
cv::SIFT::SIFT | ( | const CommonParams & | _commParams, |
const DetectorParams & | _detectorParams = DetectorParams() , |
||
const DescriptorParams & | _descriptorParams = DescriptorParams() |
||
) |
|
inline |
returns the descriptor size in floats (128)
|
inline |
|
inline |
|
inline |
void cv::SIFT::operator() | ( | const Mat & | img, |
const Mat & | mask, | ||
vector< KeyPoint > & | keypoints | ||
) | const |
finds the keypoints using SIFT algorithm
void cv::SIFT::operator() | ( | const Mat & | img, |
const Mat & | mask, | ||
vector< KeyPoint > & | keypoints, | ||
Mat & | descriptors, | ||
bool | useProvidedKeypoints = false |
||
) | const |
finds the keypoints and computes descriptors for them using SIFT algorithm. Optionally it can compute descriptors for the user-provided keypoints
|
protected |
|
protected |
|
protected |