Commit 3d85e7ac authored by Alexander Alekhin's avatar Alexander Alekhin

features2d agast: clear in/out keypoints container

fixes #5863
parent 8d79285d
......@@ -7961,6 +7961,7 @@ public:
cvtColor( _image, ogray, COLOR_BGR2GRAY );
gray = ogray;
}
keypoints.clear();
AGAST( gray, keypoints, threshold, nonmaxSuppression, type );
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