OpenCV  2.4.13
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

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

Member Function Documentation

void cv::BOWImgDescriptorExtractor::compute ( const Mat image,
vector< KeyPoint > &  keypoints,
Mat imgDescriptor,
vector< vector< int > > *  pointIdxsOfClusters = 0,
Mat descriptors = 0 
)
void cv::BOWImgDescriptorExtractor::compute2 ( const Mat image,
vector< KeyPoint > &  keypoints,
CV_OUT Mat imgDescriptor 
)
inline
int cv::BOWImgDescriptorExtractor::descriptorSize ( ) const
int cv::BOWImgDescriptorExtractor::descriptorType ( ) const
const Mat& cv::BOWImgDescriptorExtractor::getVocabulary ( ) const
void cv::BOWImgDescriptorExtractor::setVocabulary ( const Mat vocabulary)

Member Data Documentation

Ptr<DescriptorExtractor> cv::BOWImgDescriptorExtractor::dextractor
protected
Ptr<DescriptorMatcher> cv::BOWImgDescriptorExtractor::dmatcher
protected
Mat cv::BOWImgDescriptorExtractor::vocabulary
protected

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