minor change of BOW

This commit is contained in:
Maria Dimashova
2010-11-08 15:21:56 +00:00
parent 2cd9fbb66a
commit d7c86bbcdc
2 changed files with 3 additions and 3 deletions

View File

@@ -2468,7 +2468,7 @@ public:
void setVocabulary( const Mat& vocabulary );
const Mat& getVocabulary() const { return vocabulary; }
void compute( const Mat& image, vector<KeyPoint>& keypoints, Mat& imgDescriptor,
vector<vector<int> >* pointIdxsOfClusters=0 ); //not constant because DescriptorMatcher::match is not constant
vector<vector<int> >* pointIdxsOfClusters=0, Mat* descriptors=0 ); //not constant because DescriptorMatcher::match is not constant
int descriptorSize() const { return vocabulary.empty() ? 0 : vocabulary.rows; }
int descriptorType() const { return CV_32FC1; }