From 1061fc6589be5f265563514c5ad31340d14188ae Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Thu, 30 Sep 2010 15:47:10 +0000 Subject: [PATCH] back to previous default params --- modules/features2d/src/detectors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/features2d/src/detectors.cpp b/modules/features2d/src/detectors.cpp index 61540a7..05bc5f7 100644 --- a/modules/features2d/src/detectors.cpp +++ b/modules/features2d/src/detectors.cpp @@ -461,7 +461,7 @@ Ptr createFeatureDetector( const string& detectorType ) FeatureDetector* fd = 0; if( !detectorType.compare( "FAST" ) ) { - fd = new FastFeatureDetector( 30/*threshold*/, true/*nonmax_suppression*/ ); + fd = new FastFeatureDetector( 10/*threshold*/, true/*nonmax_suppression*/ ); } else if( !detectorType.compare( "STAR" ) ) { @@ -475,7 +475,7 @@ Ptr createFeatureDetector( const string& detectorType ) } else if( !detectorType.compare( "SURF" ) ) { - fd = new SurfFeatureDetector( 500./*hessian_threshold*/, 3 /*octaves*/, 4/*octave_layers*/ ); + fd = new SurfFeatureDetector( 400./*hessian_threshold*/, 3 /*octaves*/, 4/*octave_layers*/ ); } else if( !detectorType.compare( "MSER" ) ) { -- 2.7.4