Valgrind: fixed uninitialized image usage in descriptors regression tests

pull/5774/head
Maksim Shabunin 9 years ago
parent 832a03821d
commit 2cda78ffac
  1. 3
      modules/features2d/test/test_descriptors_regression.cpp

@ -162,7 +162,8 @@ protected:
ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_TEST_DATA );
}
image.create( 50, 50, CV_8UC3 );
RNG rng;
image = cvtest::randomMat(rng, Size(50, 50), CV_8UC3, 0, 255, false);
try
{
dextractor->compute( image, keypoints, descriptors );

Loading…
Cancel
Save