]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
Fixed sobel filter test
authoralexeylatyshev <alexeylatyshev@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Fri, 26 Mar 2010 13:22:07 +0000 (13:22 +0000)
committeralexeylatyshev <alexeylatyshev@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Fri, 26 Mar 2010 13:22:07 +0000 (13:22 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@2925 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/tests/cv/src/afilter.cpp

index 1396d14b544a0678f9ad0404f9b5b3f8cd2fda32..c1ffc6a1ec0809767ee097caee96188325f9522a 100644 (file)
@@ -668,7 +668,7 @@ void CV_DerivBaseTest::get_test_array_types_and_sizes( int test_case_idx,
 double CV_DerivBaseTest::get_success_error_level( int /*test_case_idx*/, int /*i*/, int /*j*/ )
 {
     int depth = CV_MAT_DEPTH(test_mat[INPUT][0].type);
-    return depth <= CV_8S ? 1 : 5e-4;
+    return depth <= CV_8S ? 2 : 5e-4;
 }