Commit 2cda78ff authored by Maksim Shabunin's avatar Maksim Shabunin

Valgrind: fixed uninitialized image usage in descriptors regression tests

parent 832a0382
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment