performance tests for FAST

This commit is contained in:
Ilya Lavrenov
2014-03-14 12:59:14 +04:00
parent b47bec2ed0
commit c53398a438
3 changed files with 70 additions and 16 deletions

View File

@@ -27,7 +27,7 @@ OCL_PERF_TEST_P(ORBFixture, ORB_Detect, ORB_IMAGES)
OCL_TEST_CYCLE() detector(frame, mask, points);
sort(points.begin(), points.end(), comparators::KeypointGreater());
std::sort(points.begin(), points.end(), comparators::KeypointGreater());
SANITY_CHECK_KEYPOINTS(points, 1e-5);
}
@@ -47,7 +47,7 @@ OCL_PERF_TEST_P(ORBFixture, ORB_Extract, ORB_IMAGES)
ORB detector(1500, 1.3f, 1);
vector<KeyPoint> points;
detector(frame, mask, points);
sort(points.begin(), points.end(), comparators::KeypointGreater());
std::sort(points.begin(), points.end(), comparators::KeypointGreater());
UMat descriptors;