mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
Fixed the multi-band blending test
This commit is contained in:
parent
386578bc3f
commit
d8fa374167
@ -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 = norm(expected, result, NORM_L2) / sqrt(expected.size().area());
|
||||
double rmsErr = norm(expected, result, NORM_L2) / sqrt(double(expected.size().area()));
|
||||
ASSERT_LT(rmsErr, 1e-3);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user