Commit db5cce88 authored by Maria Dimashova's avatar Maria Dimashova

updated tests thresholds

parent 7c83be16
...@@ -979,7 +979,7 @@ CV_DescriptorExtractorTest<L2<float> > surfDescriptorTest( "descriptor-surf", 0 ...@@ -979,7 +979,7 @@ CV_DescriptorExtractorTest<L2<float> > surfDescriptorTest( "descriptor-surf", 0
CV_DescriptorExtractorTest<Hamming> briefDescriptorTest( "descriptor-brief", 1, CV_DescriptorExtractorTest<Hamming> briefDescriptorTest( "descriptor-brief", 1,
DescriptorExtractor::create("BRIEF"), 0.00527548f ); 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 ); DescriptorExtractor::create("OpponentSIFT"), 8.06652f );
CV_DescriptorExtractorTest<L2<float> > oppurfDescriptorTest( "descriptor-opponent-surf", 0.18f, CV_DescriptorExtractorTest<L2<float> > oppurfDescriptorTest( "descriptor-opponent-surf", 0.18f,
DescriptorExtractor::create("OpponentSURF"), 0.147372f ); DescriptorExtractor::create("OpponentSURF"), 0.147372f );
......
...@@ -100,7 +100,7 @@ int CV_AMLTest::validate_test_results( int testCaseIdx ) ...@@ -100,7 +100,7 @@ int CV_AMLTest::validate_test_results( int testCaseIdx )
resultNode["mean"] >> mean; resultNode["mean"] >> mean;
resultNode["sigma"] >> sigma; resultNode["sigma"] >> sigma;
float curErr = get_error( testCaseIdx, CV_TEST_ERROR ); float curErr = get_error( testCaseIdx, CV_TEST_ERROR );
const int coeff = 3; const int coeff = 4;
ts->printf( CvTS::LOG, "Test case = %d; test error = %f; mean error = %f (diff=%f), %d*sigma = %f", ts->printf( CvTS::LOG, "Test case = %d; test error = %f; mean error = %f (diff=%f), %d*sigma = %f",
testCaseIdx, curErr, mean, abs( curErr - mean), coeff, coeff*sigma ); testCaseIdx, curErr, mean, abs( curErr - mean), coeff, coeff*sigma );
if ( abs( curErr - mean) > coeff*sigma ) if ( abs( curErr - mean) > coeff*sigma )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment