add a scale invariance test for the detector

pull/27/merge
Vincent Rabaud 13 years ago committed by Vadim Pisarevsky
parent 84c4797030
commit 3ca0cc2253
  1. 14
      modules/features2d/test/test_rotation_and_scale_invariance.cpp

@ -644,13 +644,13 @@ TEST(Features2d_RotationInvariance_Descriptor_ORB, regression)
* Detector's scale invariance check
*/
//TEST(Features2d_ScaleInvariance_Detector_BRISK, regression)
//{
// DetectorScaleInvarianceTest test(Algorithm::create<FeatureDetector>("Feature2D.BRISK"),
// 0.09f,
// 0.52f);
// test.safe_run();
//}
TEST(Features2d_ScaleInvariance_Detector_BRISK, regression)
{
DetectorScaleInvarianceTest test(Algorithm::create<FeatureDetector>("Feature2D.BRISK"),
0.08f,
0.54f);
test.safe_run();
}
//TEST(Features2d_ScaleInvariance_Detector_ORB, regression)
//{

Loading…
Cancel
Save