Merge pull request #5880 from alalek:fix_5863
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user