Commit 9012ff47 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5880 from alalek:fix_5863

parents f9e2b036 3d85e7ac
...@@ -7961,6 +7961,7 @@ public: ...@@ -7961,6 +7961,7 @@ public:
cvtColor( _image, ogray, COLOR_BGR2GRAY ); cvtColor( _image, ogray, COLOR_BGR2GRAY );
gray = ogray; gray = ogray;
} }
keypoints.clear();
AGAST( gray, keypoints, threshold, nonmaxSuppression, type ); AGAST( gray, keypoints, threshold, nonmaxSuppression, type );
KeyPointsFilter::runByPixelsMask( keypoints, mask ); KeyPointsFilter::runByPixelsMask( keypoints, mask );
} }
......
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