Merge pull request #2503 from mlyashko:optflow_dualtvl1

This commit is contained in:
Andrey Pavlenko 2014-03-24 10:35:50 +04:00 committed by OpenCV Buildbot
commit 157f35ef29

View File

@ -133,14 +133,13 @@ namespace
}
}
}
return sqrt(sum / (1e-9 + counter));
}
}
TEST(Video_calcOpticalFlowDual_TVL1, Regression)
{
const double MAX_RMSE = 0.02;
const double MAX_RMSE = 0.03;
const string frame1_path = TS::ptr()->get_data_path() + "optflow/RubberWhale1.png";
const string frame2_path = TS::ptr()->get_data_path() + "optflow/RubberWhale2.png";