OpenCV  2.4.13.2
Open Source Computer Vision
cv::DescriptorExtractor Class Referenceabstract

#include <features2d.hpp>

Inheritance diagram for cv::DescriptorExtractor:
cv::Algorithm cv::BriefDescriptorExtractor cv::CalonderDescriptorExtractor< T > cv::Feature2D cv::FREAK cv::OpponentColorDescriptorExtractor cv::BRISK cv::ocl::SURF_OCL cv::ORB cv::SIFT cv::SURF

Public Member Functions

virtual ~DescriptorExtractor ()
 
void compute (const Mat &image, CV_OUT CV_IN_OUT vector< KeyPoint > &keypoints, CV_OUT Mat &descriptors) const
 
void compute (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints, vector< Mat > &descriptors) const
 
virtual int descriptorSize () const =0
 
virtual int descriptorType () const =0
 
virtual bool empty () const
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
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
 
int getInt (const string &name) const
 
double getDouble (const string &name) const
 
bool getBool (const string &name) const
 
string getString (const string &name) const
 
Mat getMat (const string &name) const
 
vector< MatgetMatVector (const string &name) const
 
Ptr< AlgorithmgetAlgorithm (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 setInt (const string &name, int value)
 
void setDouble (const string &name, double value)
 
void setBool (const string &name, bool value)
 
void setString (const string &name, const string &value)
 
void setMat (const string &name, const Mat &value)
 
void setMatVector (const string &name, const vector< Mat > &value)
 
void setAlgorithm (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (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)
 
void setInt (const char *name, int value)
 
void setDouble (const char *name, double value)
 
void setBool (const char *name, bool value)
 
void setString (const char *name, const string &value)
 
void setMat (const char *name, const Mat &value)
 
void setMatVector (const char *name, const vector< Mat > &value)
 
void setAlgorithm (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const char *name, const Ptr< _Tp > &value)
 
string paramHelp (const string &name) const
 
int paramType (const char *name) const
 
int paramType (const string &name) const
 
void getParams (CV_OUT vector< string > &names) const
 
virtual void write (FileStorage &fs) const
 
virtual void read (const FileNode &fn)
 
virtual AlgorithmInfoinfo () const
 

Static Public Member Functions

static Ptr< DescriptorExtractorcreate (const string &descriptorExtractorType)
 
- Static Public Member Functions inherited from cv::Algorithm
static void getList (CV_OUT vector< string > &algorithms)
 
static Ptr< Algorithm_create (const string &name)
 
template<typename _Tp >
static Ptr< _Tp > create (const string &name)
 

Protected Member Functions

virtual void computeImpl (const Mat &image, vector< KeyPoint > &keypoints, Mat &descriptors) const =0
 

Static Protected Member Functions

static void removeBorderKeypoints (vector< KeyPoint > &keypoints, Size imageSize, int borderSize)
 

Additional Inherited Members

- Public Types inherited from cv::Algorithm
typedef Algorithm *(* Constructor) (void)
 
typedef int(Algorithm::* Getter) () const
 
typedef void(Algorithm::* Setter) (int)
 

Constructor & Destructor Documentation

§ ~DescriptorExtractor()

virtual cv::DescriptorExtractor::~DescriptorExtractor ( )
virtual

Member Function Documentation

§ compute() [1/2]

void cv::DescriptorExtractor::compute ( const Mat image,
CV_OUT CV_IN_OUT vector< KeyPoint > &  keypoints,
CV_OUT Mat descriptors 
) const

§ compute() [2/2]

void cv::DescriptorExtractor::compute ( const vector< Mat > &  images,
vector< vector< KeyPoint > > &  keypoints,
vector< Mat > &  descriptors 
) const

§ computeImpl()

virtual void cv::DescriptorExtractor::computeImpl ( const Mat image,
vector< KeyPoint > &  keypoints,
Mat descriptors 
) const
protectedpure virtual

§ create()

static Ptr<DescriptorExtractor> cv::DescriptorExtractor::create ( const string &  descriptorExtractorType)
static

§ descriptorSize()

virtual int cv::DescriptorExtractor::descriptorSize ( ) const
pure virtual

§ descriptorType()

virtual int cv::DescriptorExtractor::descriptorType ( ) const
pure virtual

§ empty()

virtual bool cv::DescriptorExtractor::empty ( ) const
virtual

§ removeBorderKeypoints()

static void cv::DescriptorExtractor::removeBorderKeypoints ( vector< KeyPoint > &  keypoints,
Size  imageSize,
int  borderSize 
)
staticprotected

The documentation for this class was generated from the following file: