From dbf653acb763392c92a30e7576fb4693fe167926 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 25 Feb 2014 16:54:34 +0600 Subject: 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. --- extern/libmv/libmv-capi.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'extern') 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) { -- cgit v1.2.3