Commit b413bcbb authored by Mathieu Barnachon's avatar Mathieu Barnachon

Fix shadow parameter.

parent 99c8b8c0
......@@ -149,14 +149,14 @@ void BOWImgDescriptorExtractor::compute( const Mat& image, std::vector<KeyPoint>
return;
// Compute descriptors for the image.
Mat descriptors;
dextractor->compute( image, keypoints, descriptors );
Mat _descriptors;
dextractor->compute( image, keypoints, _descriptors );
compute( descriptors, imgDescriptor, pointIdxsOfClusters );
compute( _descriptors, imgDescriptor, pointIdxsOfClusters );
// Add the descriptors of image keypoints
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