From f2e09d048c7dedb6cae135d4746f6896e21ebce8 Mon Sep 17 00:00:00 2001 From: Ernest Galbrun Date: Wed, 2 Jul 2014 10:38:32 +0200 Subject: [PATCH] changed default value for gamma (now 0 -> no use of gamma) --- modules/video/src/tvl1flow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video/src/tvl1flow.cpp b/modules/video/src/tvl1flow.cpp index e2c0b2acf1..96c328aff9 100644 --- a/modules/video/src/tvl1flow.cpp +++ b/modules/video/src/tvl1flow.cpp @@ -351,7 +351,7 @@ OpticalFlowDual_TVL1::OpticalFlowDual_TVL1() nscales = 5; warps = 5; epsilon = 0.01; - gamma = 0.01; + gamma = 0.; innerIterations = 30; outerIterations = 10; useInitialFlow = false;