mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
Merge pull request #7589 from alalek:fix_perf_stitching
This commit is contained in:
commit
25f740ea5a
@ -94,25 +94,7 @@ PERF_TEST_P(stitch, b12, TEST_DETECTORS)
|
||||
EXPECT_NEAR(pano.size().width, 1117, 50);
|
||||
EXPECT_NEAR(pano.size().height, 642, 30);
|
||||
|
||||
Mat pano_small;
|
||||
resize(pano, pano_small, Size(320, 240), 0, 0, INTER_AREA);
|
||||
|
||||
// results from orb and surf are slightly different (but both of them are good). Regression data
|
||||
// are for orb.
|
||||
/* transformations are:
|
||||
orb:
|
||||
[0.99213386, 0.062509097, -351.83731;
|
||||
-0.073042989, 1.0615162, -89.869858;
|
||||
0.0005330033, -4.0937066e-05, 1]
|
||||
surf:
|
||||
[1.0034728, 0.022535477, -352.76849;
|
||||
-0.080653802, 1.0742083, -89.602058;
|
||||
0.0004876224, 0.00012311155, 1]
|
||||
*/
|
||||
if (GetParam() == "orb")
|
||||
SANITY_CHECK(pano_small, 5);
|
||||
else
|
||||
SANITY_CHECK_NOTHING();
|
||||
SANITY_CHECK_NOTHING();
|
||||
}
|
||||
|
||||
PERF_TEST_P(stitchDatasets, affine, testing::Combine(AFFINE_DATASETS, TEST_DETECTORS))
|
||||
|
Loading…
Reference in New Issue
Block a user