Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv 3.0 FAST Corner Detection

I am beginner in OpenCV. I have problem implement FAST algoritmus in Vsual Studio with version OpenCV 3.0. I have tried following implementation in c++:

src = imread("../images/right.jpg", CV_LOAD_IMAGE_GRAYSCALE);
Ptr<FastFeatureDetector> detector = FastFeatureDetector::create(TRESHOLD);
vector<KeyPoint> keypointsD;

with (but both realizations are BAD)

detector->detect(src, keypointsD);
drawKeypoints(src, keypointsD, output);
imshow(window_name, output);

or

FAST(src, keypointsD, TRESHOLD, true); //fast detector
drawKeypoints(src, keypointsD, output);
imshow(window_name, output);

Can you help me with any example or what Do I do bad?

Opencv 3.0 FAST Corner Detection

I am beginner in OpenCV. I have problem implement FAST algoritmus in Vsual Studio with version OpenCV 3.0. I have tried following implementation in c++:

src = imread("../images/right.jpg", CV_LOAD_IMAGE_GRAYSCALE);
Ptr<FastFeatureDetector> detector = FastFeatureDetector::create(TRESHOLD);
vector<KeyPoint> keypointsD;

with (but both realizations are BAD)

detector->detect(src, keypointsD);
drawKeypoints(src, keypointsD, output);
imshow(window_name, output);

or

FAST(src, keypointsD, TRESHOLD, true); //fast detector
drawKeypoints(src, keypointsD, output);
imshow(window_name, output);

Can you help me with any example or what Do I do bad?