Ask Your Question

Can't find CUDA::FAST_CUDA class

asked 2016-05-13 03:11:23 -0500

Lunarix gravatar image

Hello, I am working with the FAST algorithm on GPU. Before, it worked with Harris and Sobel. Thats the important code I got so far. I can use the class: cv::cuda::FastFeatureDetector::create(20, 1,cv::FastFeatureDetector::TYPE_9_16);

but when I try cv::cuda::FAST_CUDA::downloadKeypoints(...); it says that it cant find class FAST_CUDA. If i look at the cudafeatures2d.hpp there is no FAST_CUDA class like said in the description. What did I do wrong? How to get the Keypoints to the CPU? Kind regards Lunarix

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-13 03:25:53 -0500

I think (hope?) you are using OpenCV version 3.x, so now, FAST in Cuda is referred as cv::cuda::FastFeatureDetector. It was previously named FAST_GPU (2.49) and also FAST_CUDA, but I can't find the right version right now.

Have a look at the different documentation here.

edit flag offensive delete link more


Thanks for the answer. The cv::cuda::FastFeatureDetector works (it starts the FAST algorithm and saves results as keypoints) but it has no function for downloading the keypoints. How to do it then?

Lunarix gravatar imageLunarix ( 2016-05-13 03:33:44 -0500 )edit

How do you compute the keypoints? If you are using compute, it returns the vector of keypoints computed, right?

Mathieu Barnachon gravatar imageMathieu Barnachon ( 2016-05-13 05:47:30 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-05-13 03:11:23 -0500

Seen: 114 times

Last updated: May 13 '16