#include <features2d.hpp>
Inherits cv::FeatureDetector, and cv::DescriptorExtractor.
Inherited by cv::BRISK, cv::ocl::SURF_OCL, cv::ORB, cv::SIFT, and cv::SURF.
Public Types | |
typedef Algorithm *(* | Constructor )(void) |
typedef int(Algorithm::* | Getter )() const |
typedef void(Algorithm::* | Setter )(int) |
Public Member Functions | |
CV_WRAP_AS (detectAndCompute) virtual void operator()(InputArray image | |
CV_WRAP void | compute (const Mat &image, CV_OUT CV_IN_OUT std::vector< KeyPoint > &keypoints, CV_OUT Mat &descriptors) const |
CV_WRAP void | detect (const Mat &image, CV_OUT 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 CV_WRAP bool | empty () const |
string | name () const |
template<typename _Tp > | |
ParamType< _Tp >::member_type | get (const string &name) const |
template<typename _Tp > | |
ParamType< _Tp >::member_type | get (const char *name) const |
CV_WRAP int | getInt (const string &name) const |
CV_WRAP double | getDouble (const string &name) const |
CV_WRAP bool | getBool (const string &name) const |
CV_WRAP string | getString (const string &name) const |
CV_WRAP Mat | getMat (const string &name) const |
CV_WRAP vector< Mat > | getMatVector (const string &name) const |
CV_WRAP Ptr< Algorithm > | getAlgorithm (const string &name) const |
void | set (const string &name, int value) |
void | set (const string &name, double value) |
void | set (const string &name, bool value) |
void | set (const string &name, const string &value) |
void | set (const string &name, const Mat &value) |
void | set (const string &name, const vector< Mat > &value) |
void | set (const string &name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | set (const string &name, const Ptr< _Tp > &value) |
void | set (const char *name, int value) |
void | set (const char *name, double value) |
void | set (const char *name, bool value) |
void | set (const char *name, const string &value) |
void | set (const char *name, const Mat &value) |
void | set (const char *name, const vector< Mat > &value) |
void | set (const char *name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | set (const char *name, const Ptr< _Tp > &value) |
CV_WRAP void | setInt (const string &name, int value) |
void | setInt (const char *name, int value) |
CV_WRAP void | setDouble (const string &name, double value) |
void | setDouble (const char *name, double value) |
CV_WRAP void | setBool (const string &name, bool value) |
void | setBool (const char *name, bool value) |
CV_WRAP void | setString (const string &name, const string &value) |
void | setString (const char *name, const string &value) |
CV_WRAP void | setMat (const string &name, const Mat &value) |
void | setMat (const char *name, const Mat &value) |
CV_WRAP void | setMatVector (const string &name, const vector< Mat > &value) |
void | setMatVector (const char *name, const vector< Mat > &value) |
CV_WRAP void | setAlgorithm (const string &name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | setAlgorithm (const string &name, const Ptr< _Tp > &value) |
void | setAlgorithm (const char *name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | setAlgorithm (const char *name, const Ptr< _Tp > &value) |
CV_WRAP string | paramHelp (const string &name) const |
int | paramType (const char *name) const |
CV_WRAP int | paramType (const string &name) const |
CV_WRAP void | getParams (CV_OUT vector< string > &names) const |
virtual void | write (FileStorage &fs) const |
virtual void | read (const FileNode &fn) |
virtual AlgorithmInfo * | info () const |
void | compute (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints, vector< Mat > &descriptors) const |
virtual CV_WRAP int | descriptorSize () const =0 |
virtual CV_WRAP int | descriptorType () const =0 |
virtual CV_WRAP bool | empty () const |
Static Public Member Functions | |
static CV_WRAP Ptr< Feature2D > | create (const string &name) |
static CV_WRAP void | getList (CV_OUT vector< string > &algorithms) |
static CV_WRAP Ptr< Algorithm > | _create (const string &name) |
Public Attributes | |
InputArray | mask |
InputArray CV_OUT vector < KeyPoint > & | keypoints |
InputArray CV_OUT vector < KeyPoint > OutputArray | descriptors |
InputArray CV_OUT vector < KeyPoint > OutputArray bool | useProvidedKeypoints =false ) const = 0 |
Protected Member Functions | |
virtual void | detectImpl (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const =0 |
virtual void | computeImpl (const Mat &image, vector< KeyPoint > &keypoints, Mat &descriptors) const =0 |
Static Protected Member Functions | |
static void | removeInvalidPoints (const Mat &mask, vector< KeyPoint > &keypoints) |
static void | removeBorderKeypoints (vector< KeyPoint > &keypoints, Size imageSize, int borderSize) |
|
inherited |
cv::Feature2D::CV_WRAP_AS | ( | detectAndCompute | ) |
CV_WRAP void cv::Feature2D::compute | ( | const Mat & | image, |
CV_OUT CV_IN_OUT std::vector< KeyPoint > & | keypoints, | ||
CV_OUT Mat & | descriptors | ||
) | const |
|
inherited |
|
inherited |
|
virtualinherited |
Reimplemented in cv::DynamicAdaptedFeatureDetector, cv::PyramidAdaptedFeatureDetector, and cv::GridAdaptedFeatureDetector.
|
protectedpure virtualinherited |
Implemented in cv::SurfAdjuster, cv::StarAdjuster, cv::FastAdjuster, cv::DynamicAdaptedFeatureDetector, cv::PyramidAdaptedFeatureDetector, cv::GridAdaptedFeatureDetector, cv::DenseFeatureDetector, cv::SimpleBlobDetector, cv::GFTTDetector, cv::FastFeatureDetector, cv::StarDetector, cv::MSER, cv::ORB, cv::BRISK, cv::SURF, cv::ocl::SURF_OCL, and cv::SIFT.
|
staticprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
virtualinherited |
Reimplemented in cv::FlannBasedMatcher, cv::BFMatcher, cv::BriefDescriptorExtractor, cv::GridAdaptedFeatureDetector, cv::DenseFeatureDetector, cv::SimpleBlobDetector, cv::EM, cv::GFTTDetector, cv::FastFeatureDetector, cv::StarDetector, cv::MSER, cv::FREAK, cv::ORB, cv::BRISK, cv::BackgroundSubtractorGMG, cv::BackgroundSubtractorMOG2, cv::SURF, cv::ocl::SURF_OCL, cv::BackgroundSubtractorMOG, and cv::SIFT.
|
inherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtualinherited |
Reimplemented in cv::CalonderDescriptorExtractor< T >, and cv::OpponentColorDescriptorExtractor.
|
staticprotectedinherited |
InputArray cv::Feature2D::mask |
InputArray CV_OUT vector<KeyPoint>& cv::Feature2D::keypoints |
InputArray CV_OUT vector<KeyPoint> OutputArray cv::Feature2D::descriptors |
InputArray CV_OUT vector<KeyPoint> OutputArray bool cv::Feature2D::useProvidedKeypoints =false ) const = 0 |