#include <features2d.hpp>
Public Member Functions | |
| BOWImgDescriptorExtractor (const Ptr< DescriptorExtractor > &dextractor, const Ptr< DescriptorMatcher > &dmatcher) | |
| virtual | ~BOWImgDescriptorExtractor () |
| void | setVocabulary (const Mat &vocabulary) |
| const Mat & | getVocabulary () const |
| void | compute (const Mat &image, vector< KeyPoint > &keypoints, Mat &imgDescriptor, vector< vector< int > > *pointIdxsOfClusters=0, Mat *descriptors=0) |
| int | descriptorSize () const |
| int | descriptorType () const |
Protected Attributes | |
| Mat | vocabulary |
| Ptr< DescriptorExtractor > | dextractor |
| Ptr< DescriptorMatcher > | dmatcher |
| cv::BOWImgDescriptorExtractor::BOWImgDescriptorExtractor | ( | const Ptr< DescriptorExtractor > & | dextractor, |
| const Ptr< DescriptorMatcher > & | dmatcher | ||
| ) |
| virtual cv::BOWImgDescriptorExtractor::~BOWImgDescriptorExtractor | ( | ) | [virtual] |
| void cv::BOWImgDescriptorExtractor::setVocabulary | ( | const Mat & | vocabulary | ) |
| const Mat& cv::BOWImgDescriptorExtractor::getVocabulary | ( | ) | const |
| void cv::BOWImgDescriptorExtractor::compute | ( | const Mat & | image, |
| vector< KeyPoint > & | keypoints, | ||
| Mat & | imgDescriptor, | ||
| vector< vector< int > > * | pointIdxsOfClusters = 0, |
||
| Mat * | descriptors = 0 |
||
| ) |
| int cv::BOWImgDescriptorExtractor::descriptorSize | ( | ) | const |
| int cv::BOWImgDescriptorExtractor::descriptorType | ( | ) | const |
Mat cv::BOWImgDescriptorExtractor::vocabulary [protected] |
Ptr<DescriptorMatcher> cv::BOWImgDescriptorExtractor::dmatcher [protected] |