Merge pull request #29933 from asmorkalov:as/video_standard_perf_strategy_5.x

Use default per strategy for optical flow tests 5.x
This commit is contained in:
Alexander Smorkalov
2026-09-11 20:47:19 +03:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ PERF_TEST_P(DenseOpticalFlow_DIS, perf,
MakeArtificialExample(frame1, frame2);
TEST_CYCLE_N(10)
TEST_CYCLE()
{
Ptr<DenseOpticalFlow> algo = DISOpticalFlow::create(preset);
algo->calc(frame1, frame2, flow);

View File

@@ -82,7 +82,7 @@ PERF_TEST_P(Path_Idx_Cn_NPoints_WSize, OpticalFlowPyrLK_full, testing::Combine(
declare.in(frame1, frame2, inPoints).out(outPoints);
TEST_CYCLE_N(30)
TEST_CYCLE()
{
calcOpticalFlowPyrLK(frame1, frame2, inPoints, outPoints, status, err,
Size(winSize, winSize), maxLevel, criteria,
@@ -133,7 +133,7 @@ PERF_TEST_P(Path_Idx_NPoints_WSize, DISABLED_OpticalFlowPyrLK_ovx, testing::Comb
declare.in(frame1, frame2, inPoints).out(outPoints);
TEST_CYCLE_N(30)
TEST_CYCLE()
{
calcOpticalFlowPyrLK(frame1, frame2, inPoints, outPoints, status, cv::noArray(),
Size(winSize, winSize), maxLevel, criteria,

View File

@@ -23,7 +23,7 @@ PERF_TEST_P(DenseOpticalFlow_VariationalRefinement, perf, Combine(Values(szQVGA,
randu(frame2, 0, 255);
flow.setTo(0.0f);
TEST_CYCLE_N(10)
TEST_CYCLE()
{
Ptr<VariationalRefinement> var = VariationalRefinement::create();
var->setAlpha(20.0f);