Commit e8b86c86 authored by Mathieu Barnachon's avatar Mathieu Barnachon

Fix name of one parameter to fit the documentation.

parent 9dc713ea
...@@ -178,7 +178,7 @@ void BOWImgDescriptorExtractor::compute( const Mat& keypointDescriptors, Mat& im ...@@ -178,7 +178,7 @@ void BOWImgDescriptorExtractor::compute( const Mat& keypointDescriptors, Mat& im
// Match keypoint descriptors to cluster center (to vocabulary) // Match keypoint descriptors to cluster center (to vocabulary)
std::vector<DMatch> matches; std::vector<DMatch> matches;
dmatcher->match( descriptors, matches ); dmatcher->match( keypointDescriptors, matches );
// Compute image descriptor // Compute image descriptor
if( pointIdxsOfClusters ) if( pointIdxsOfClusters )
......
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