TAPI: stitching: blender: fix OpenCL path & adjust test condition
This commit is contained in:

committed by
Andrey Pavlenko

parent
e6cc1be7e8
commit
026b13b3db
@@ -73,6 +73,6 @@ TEST(MultiBandBlender, CanBlendTwoImages)
|
||||
Mat result; result_s.convertTo(result, CV_8U);
|
||||
|
||||
Mat expected = imread(string(cvtest::TS::ptr()->get_data_path()) + "stitching/baboon_lena.png");
|
||||
double rmsErr = cvtest::norm(expected, result, NORM_L2) / sqrt(double(expected.size().area()));
|
||||
ASSERT_LT(rmsErr, 1e-3);
|
||||
double psnr = cvtest::PSNR(expected, result);
|
||||
EXPECT_GE(psnr, 50);
|
||||
}
|
||||
|
Reference in New Issue
Block a user