Default AGAST threshold is 40 (as authors recomandation)
authorcbalint13 <cristian.balint@gmail.com>
Wed, 29 Apr 2015 20:54:16 +0000 (23:54 +0300)
committercbalint13 <cristian.balint@gmail.com>
Wed, 29 Apr 2015 20:54:16 +0000 (23:54 +0300)
modules/features2d/include/opencv2/features2d.hpp

index cf95e7d..1d2cd06 100644 (file)
@@ -445,7 +445,7 @@ public:
         THRESHOLD = 10000, NONMAX_SUPPRESSION = 10001,
     };
 
-    CV_WRAP static Ptr<AgastFeatureDetector> create( int threshold=10,
+    CV_WRAP static Ptr<AgastFeatureDetector> create( int threshold=40,
                                                      bool nonmaxSuppression=true,
                                                      int type=AgastFeatureDetector::OAST_9_16 );