mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 13:55:39 -05:00
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:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user