1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #25894 from mshabunin:fix-test-templ-match

imgproc: reduce template sizes in templMatch test
This commit is contained in:
Alexander Smorkalov
2024-07-10 12:40:48 +03:00
committed by GitHub
+1 -1
View File
@@ -318,7 +318,7 @@ TEST_P(matchTemplate_Modes, accuracy)
SCOPED_TRACE(cv::format("iteration %d", ITER));
const Size imgSize(rng.uniform(128, 320), rng.uniform(128, 240));
const Size templSize(rng.uniform(1, 100), rng.uniform(1, 100));
const Size templSize(rng.uniform(1, 30), rng.uniform(1, 30));
Mat img(imgSize, data_type, Scalar::all(0));
Mat templ(templSize, data_type, Scalar::all(0));
cvtest::randUni(rng, img, Scalar::all(0), Scalar::all(255));