blender/release
Sergey Sharybin d261623800 Camera tracking: merge hybrid tracker from tomato branch
Comment from Keir's commit:

Add a new hybrid region tracker for motion tracking to libmv, and
add it as an option (under "Hybrid") in the tracking settings. The
region tracker is a combination of brute force tracking for coarse
alignment, then refinement with the ESM/KLT algorithm already in
libmv that gives excellent subpixel precision (typically 1/50'th
of a pixel)

This also adds a new "brute force" region tracker which does a
brute force search through every pixel position in the destination
for the pattern in the first frame. It leverages SSE if available,
similar to the SAD tracker, to do this quickly. Currently it does
some unnecessary conversions to/from floating point that will get
fixed later.

The hybrid tracker glues the two trackers (brute & ESM) together
to get an overall better tracker. The algorithm is simple:

1. Track from frame 1 to frame 2 with the brute force tracker.
   This tries every possible pixel position for the pattern from
   frame 1 in frame 2. The position with the smallest
   sum-of-absolute-differences is chosen. By definition, this
   position is only accurate up to 1 pixel or so.
2. Using the result from 1, initialize a track with ESM. This does
   a least-squares fit with subpixel precision.
3. If the ESM shift was more than 2 pixels, report failure.
4. If the ESM track shifted less than 2 pixels, then the track is
   good and we're done. The rationale here is that if the
   refinement stage shifts more than 1 pixel, then the brute force
   result likely found some random position that's not a good fit.

svn command used: svn merge -r 42375:42376 -r 42377:42379 ^/branches/soc-2011-tomato
2011-12-04 13:26:11 +00:00
..
bin Workaround for half-transparent windows when running blender-softwaregl 2011-11-15 07:28:18 +00:00
datafiles Quick fix for "droidsans" Blender font, should fix missing umlaut and accent on capitals. 2011-11-23 16:30:41 +00:00
freedesktop synched with trunk at revision 36569 2011-05-16 20:30:59 +00:00
plugins correct indentation and some whitespace edits (no functional changes) 2011-11-11 13:09:14 +00:00
scripts Camera tracking: merge hybrid tracker from tomato branch 2011-12-04 13:26:11 +00:00
text Blender 2.61 Release links and readme: 2011-11-29 20:13:20 +00:00
windows remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
environment-macosx Continue development of bfile system. 2009-10-19 18:44:09 +00:00
environment-mswindows set svn end of lines to native 2011-05-09 08:15:38 +00:00
environment-unix Continue development of bfile system. 2009-10-19 18:44:09 +00:00