fixed bug in FAST
This commit is contained in:
parent
3e854fa6e5
commit
42e604abea
@ -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 &&
|
if( ocl::useOpenCL() && _img.isUMat() && type == FastFeatureDetector::TYPE_9_16 &&
|
||||||
ocl_FAST(_img, keypoints, threshold, nonmax_suppression, 10000))
|
ocl_FAST(_img, keypoints, threshold, nonmax_suppression, 10000))
|
||||||
;
|
return;
|
||||||
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case FastFeatureDetector::TYPE_5_8:
|
case FastFeatureDetector::TYPE_5_8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user