|
|
|
@ -130,10 +130,10 @@ The class declaration is the following: :: |
|
|
|
|
void setVocabulary( const Mat& vocabulary ); |
|
|
|
|
const Mat& getVocabulary() const; |
|
|
|
|
void compute( InputArray image, vector<KeyPoint>& keypoints, |
|
|
|
|
InputOutputArray imgDescriptor, |
|
|
|
|
OutputArray imgDescriptor, |
|
|
|
|
vector<vector<int> >* pointIdxsOfClusters=0, |
|
|
|
|
Mat* descriptors=0 ); |
|
|
|
|
void compute( InputArray descriptors, InputOutputArray imgDescriptor, |
|
|
|
|
void compute( InputArray descriptors, OutputArray imgDescriptor, |
|
|
|
|
std::vector<std::vector<int> >* pointIdxsOfClusters=0 ); |
|
|
|
|
int descriptorSize() const; |
|
|
|
|
int descriptorType() const; |
|
|
|
@ -180,8 +180,8 @@ BOWImgDescriptorExtractor::compute |
|
|
|
|
-------------------------------------- |
|
|
|
|
Computes an image descriptor using the set visual vocabulary. |
|
|
|
|
|
|
|
|
|
.. ocv:function:: void BOWImgDescriptorExtractor::compute( InputArray image, vector<KeyPoint>& keypoints, InputOutputArray imgDescriptor, vector<vector<int> >* pointIdxsOfClusters=0, Mat* descriptors=0 ) |
|
|
|
|
.. ocv:function:: void BOWImgDescriptorExtractor::compute( InputArray keypointDescriptors, InputOutputArray imgDescriptor, std::vector<std::vector<int> >* pointIdxsOfClusters=0 ) |
|
|
|
|
.. ocv:function:: void BOWImgDescriptorExtractor::compute( InputArray image, vector<KeyPoint>& keypoints, OutputArray imgDescriptor, vector<vector<int> >* pointIdxsOfClusters=0, Mat* descriptors=0 ) |
|
|
|
|
.. ocv:function:: void BOWImgDescriptorExtractor::compute( InputArray keypointDescriptors, OutputArray imgDescriptor, std::vector<std::vector<int> >* pointIdxsOfClusters=0 ) |
|
|
|
|
|
|
|
|
|
:param image: Image, for which the descriptor is computed. |
|
|
|
|
|
|
|
|
|