From e2f74309f7d04d536b59e46c8df075d4d4a9c867 Mon Sep 17 00:00:00 2001
From: cbalint13 <cristian.balint@gmail.com>
Date: Wed, 29 Apr 2015 23:54:16 +0300
Subject: [PATCH] Default AGAST threshold is 40 (as authors recomandation)

---
 modules/features2d/include/opencv2/features2d.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/features2d/include/opencv2/features2d.hpp b/modules/features2d/include/opencv2/features2d.hpp
index cf95e7d343..1d2cd06e9e 100644
--- a/modules/features2d/include/opencv2/features2d.hpp
+++ b/modules/features2d/include/opencv2/features2d.hpp
@@ -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 );