OpenCV  2.4.13.7
Open Source Computer Vision
cv::BOWImgDescriptorExtractor Class Reference

#include <features2d.hpp>

Public Member Functions

 BOWImgDescriptorExtractor (const Ptr< DescriptorExtractor > &dextractor, const Ptr< DescriptorMatcher > &dmatcher)
 
virtual ~BOWImgDescriptorExtractor ()
 
void setVocabulary (const Mat &vocabulary)
 
const MatgetVocabulary () const
 
void compute (const Mat &image, vector< KeyPoint > &keypoints, Mat &imgDescriptor, vector< vector< int > > *pointIdxsOfClusters=0, Mat *descriptors=0)
 
void compute2 (const Mat &image, vector< KeyPoint > &keypoints, CV_OUT Mat &imgDescriptor)
 
int descriptorSize () const
 
int descriptorType () const
 

Protected Attributes

Mat vocabulary
 
Ptr< DescriptorExtractordextractor
 
Ptr< DescriptorMatcherdmatcher
 

Constructor & Destructor Documentation

§ BOWImgDescriptorExtractor()

cv::BOWImgDescriptorExtractor::BOWImgDescriptorExtractor ( const Ptr< DescriptorExtractor > &  dextractor,
const Ptr< DescriptorMatcher > &  dmatcher 
)

§ ~BOWImgDescriptorExtractor()

virtual cv::BOWImgDescriptorExtractor::~BOWImgDescriptorExtractor ( )
virtual

Member Function Documentation

§ compute()

void cv::BOWImgDescriptorExtractor::compute ( const Mat image,
vector< KeyPoint > &  keypoints,
Mat imgDescriptor,
vector< vector< int > > *  pointIdxsOfClusters = 0,
Mat descriptors = 0 
)

§ compute2()

void cv::BOWImgDescriptorExtractor::compute2 ( const Mat image,
vector< KeyPoint > &  keypoints,
CV_OUT Mat imgDescriptor 
)
inline

§ descriptorSize()

int cv::BOWImgDescriptorExtractor::descriptorSize ( ) const

§ descriptorType()

int cv::BOWImgDescriptorExtractor::descriptorType ( ) const

§ getVocabulary()

const Mat& cv::BOWImgDescriptorExtractor::getVocabulary ( ) const

§ setVocabulary()

void cv::BOWImgDescriptorExtractor::setVocabulary ( const Mat vocabulary)

Member Data Documentation

§ dextractor

Ptr<DescriptorExtractor> cv::BOWImgDescriptorExtractor::dextractor
protected

§ dmatcher

Ptr<DescriptorMatcher> cv::BOWImgDescriptorExtractor::dmatcher
protected

§ vocabulary

Mat cv::BOWImgDescriptorExtractor::vocabulary
protected

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