Commit 99c8b8c0 authored by Mathieu Barnachon's avatar Mathieu Barnachon

Fix parameter name to fit documentation.

parent 4f74e250
...@@ -141,7 +141,7 @@ const Mat& BOWImgDescriptorExtractor::getVocabulary() const ...@@ -141,7 +141,7 @@ const Mat& BOWImgDescriptorExtractor::getVocabulary() const
} }
void BOWImgDescriptorExtractor::compute( const Mat& image, std::vector<KeyPoint>& keypoints, Mat& imgDescriptor, void BOWImgDescriptorExtractor::compute( const Mat& image, std::vector<KeyPoint>& keypoints, Mat& imgDescriptor,
std::vector<std::vector<int> >* pointIdxsOfClusters, Mat* _descriptors ) std::vector<std::vector<int> >* pointIdxsOfClusters, Mat* descriptors )
{ {
imgDescriptor.release(); imgDescriptor.release();
...@@ -155,8 +155,8 @@ void BOWImgDescriptorExtractor::compute( const Mat& image, std::vector<KeyPoint> ...@@ -155,8 +155,8 @@ void BOWImgDescriptorExtractor::compute( const Mat& image, std::vector<KeyPoint>
compute( descriptors, imgDescriptor, pointIdxsOfClusters ); compute( descriptors, imgDescriptor, pointIdxsOfClusters );
// Add the descriptors of image keypoints // Add the descriptors of image keypoints
if (_descriptors) { if (descriptors) {
*_descriptors = descriptors.clone(); *descriptors = descriptors.clone();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment