[Bf-blender-cvs] [dbf653a] master: Disable eager-refinement step of region tracking

Sergey Sharybin noreply at git.blender.org
Tue Feb 25 11:55:31 CET 2014


Commit: dbf653acb763392c92a30e7576fb4693fe167926
Author: Sergey Sharybin
Date:   Tue Feb 25 16:54:34 2014 +0600
https://developer.blender.org/rBdbf653acb763392c92a30e7576fb4693fe167926

Disable eager-refinement step of region tracking

This gives much worse results on mango footage (see 04_2e)
so disabling for now for until proper prediction model is landed.

The thing is, currently blender sends input coordinates as the guess to
region tracker and in case of fast motion such an early out ruins the track.

===================================================================

M	extern/libmv/libmv-capi.cc

===================================================================

diff --git a/extern/libmv/libmv-capi.cc b/extern/libmv/libmv-capi.cc
index 5bc159c..74e9e52 100644
--- a/extern/libmv/libmv-capi.cc
+++ b/extern/libmv/libmv-capi.cc
@@ -330,8 +330,15 @@ int libmv_trackRegion(const libmv_TrackRegionOptions *options,
 	track_region_options.image1_mask = NULL;
 	track_region_options.use_brute_initialization = options->use_brute;
 	/* TODO(keir): This will make some cases better, but may be a regression until
-	 * the motion model is in. Since this is on trunk, enable it for now. */
-	track_region_options.attempt_refine_before_brute = true;
+	 * the motion model is in. Since this is on trunk, enable it for now.
+	 *
+	 * TODO(sergey): This gives much worse results on mango footage (see 04_2e)
+	 * so disabling for now for until proper prediction model is landed.
+	 *
+	 * The thing is, currently blender sends input coordinates as the guess to
+	 * region tracker and in case of fast motion such an early out ruins the track.
+	 */
+	track_region_options.attempt_refine_before_brute = false;
 	track_region_options.use_normalized_intensities = options->use_normalization;
 
 	if (options->image1_mask) {




More information about the Bf-blender-cvs mailing list