fixed bug in FAST

This commit is contained in:
Vadim Pisarevsky 2014-03-13 23:17:28 +04:00
parent 3e854fa6e5
commit 42e604abea

View File

@ -332,7 +332,7 @@ void FAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool
{
if( ocl::useOpenCL() && _img.isUMat() && type == FastFeatureDetector::TYPE_9_16 &&
ocl_FAST(_img, keypoints, threshold, nonmax_suppression, 10000))
;
return;
switch(type) {
case FastFeatureDetector::TYPE_5_8: