From a68027a408ace7ac1f9155ed2e79cac6bcea4049 Mon Sep 17 00:00:00 2001 From: cbalint13 Date: Fri, 3 Apr 2015 18:01:29 +0300 Subject: [PATCH] Fix AGAST function and documentation. --- modules/xfeatures2d/include/opencv2/xfeatures2d.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp b/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp index 0716f4742..1bff133a1 100644 --- a/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp +++ b/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp @@ -129,6 +129,11 @@ public: static Ptr create( int bytes = 32 ); }; +/** @brief The class implements the keypoint detector using AGAST algorithm by Elmar Mair. : + */ +CV_EXPORTS void AGAST( InputArray image, CV_OUT std::vector& keypoints, + int threshold, bool nonmaxSuppression=true ); + CV_EXPORTS void AGAST( InputArray image, CV_OUT std::vector& keypoints, int threshold, bool nonmaxSuppression, int type ); @@ -138,7 +143,7 @@ public: enum { AGAST_5_8 = 0, AGAST_7_12d = 1, AGAST_7_12s = 2, OAST_9_16 = 3, - THRESHOLD = 10000, NONMAX_SUPPRESSION=10001, + THRESHOLD = 10000, NONMAX_SUPPRESSION = 10001, }; CV_WRAP static Ptr create( int threshold=10,