Commit fa640084 authored by Maria Dimashova's avatar Maria Dimashova

fixed #982

parent 8a79d414
...@@ -658,7 +658,11 @@ void GenericDescriptorMatcher::KeyPointCollection::add( const vector<Mat>& _imag ...@@ -658,7 +658,11 @@ void GenericDescriptorMatcher::KeyPointCollection::add( const vector<Mat>& _imag
void GenericDescriptorMatcher::KeyPointCollection::clear() void GenericDescriptorMatcher::KeyPointCollection::clear()
{ {
pointCount = 0;
images.clear();
keypoints.clear(); keypoints.clear();
startIndices.clear();
} }
size_t GenericDescriptorMatcher::KeyPointCollection::keypointCount() const size_t GenericDescriptorMatcher::KeyPointCollection::keypointCount() const
......
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