Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-02-25 14:54:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-25 14:55:24 +0400
commitdbf653acb763392c92a30e7576fb4693fe167926 (patch)
tree1e40dbf64bf0ffd17905c134679a98dc6ec1ab3d /extern/libmv
parent9c755ef6521319e08969aedbb2703ccbd3a25db7 (diff)
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.
Diffstat (limited to 'extern/libmv')
-rw-r--r--extern/libmv/libmv-capi.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/extern/libmv/libmv-capi.cc b/extern/libmv/libmv-capi.cc
index 5bc159c64af..74e9e52094d 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) {