updated tests thresholds
authorMaria Dimashova <no@email>
Wed, 1 Dec 2010 09:28:16 +0000 (09:28 +0000)
committerMaria Dimashova <no@email>
Wed, 1 Dec 2010 09:28:16 +0000 (09:28 +0000)
tests/cv/src/afeatures2d.cpp
tests/ml/src/amltests.cpp

index 8af20ef..ebfe185 100644 (file)
@@ -979,7 +979,7 @@ CV_DescriptorExtractorTest<L2<float> > surfDescriptorTest( "descriptor-surf",  0
 CV_DescriptorExtractorTest<Hamming> briefDescriptorTest( "descriptor-brief",  1,
                                                 DescriptorExtractor::create("BRIEF"), 0.00527548f );
 
-CV_DescriptorExtractorTest<L2<float> > oppSiftDescriptorTest( "descriptor-opponent-sift", 0.03f,
+CV_DescriptorExtractorTest<L2<float> > oppSiftDescriptorTest( "descriptor-opponent-sift", 0.045f,
                                                 DescriptorExtractor::create("OpponentSIFT"), 8.06652f  );
 CV_DescriptorExtractorTest<L2<float> > oppurfDescriptorTest( "descriptor-opponent-surf",  0.18f,
                                                 DescriptorExtractor::create("OpponentSURF"), 0.147372f );
index db21e5a..0cf5c74 100644 (file)
@@ -100,7 +100,7 @@ int CV_AMLTest::validate_test_results( int testCaseIdx )
         resultNode["mean"] >> mean;\r
         resultNode["sigma"] >> sigma;\r
         float curErr = get_error( testCaseIdx, CV_TEST_ERROR );\r
-        const int coeff = 3;\r
+        const int coeff = 4;\r
         ts->printf( CvTS::LOG, "Test case = %d; test error = %f; mean error = %f (diff=%f), %d*sigma = %f",\r
                                 testCaseIdx, curErr, mean, abs( curErr - mean), coeff, coeff*sigma );\r
         if ( abs( curErr - mean) > coeff*sigma )\r