Blender Git Loki
Git Commits -> Revision baaa2d6
Revision baaa2d6 by Hermann Voßeler (master) August 23, 2016, 09:53 (GMT) |
Change Request: use weight centre of location tracks as pivot Previously, this extension used the translation compensated image centre as reference point for rotation measurement and compensation. During user tests, it turned out that this setup tends to give poor results with very simple track configurations. This can be improved by useiing the weighted average of the location tracks for each frame as pivot point. But there is a technical problem: the existing public API functions do not allow to pass the pivot point for each frame alongside with the stabilisation data. Thus this change implements a trick to package a compensation shift into the translation offset, so the rotation can be performed around a fixed point (center of frame). The compensation shift will then shift the image as if it had been rotated around the desired pivot point. |
Commit Details:
Full Hash: baaa2d6d396ef8003cf2241ae0a6304d6aebb496
Parent Commit: 498ba75
Committed By: Sergey Sharybin
Lines Changed: +240, -90
1 Modified Path:
/source/blender/blenkernel/intern/tracking_stabilize.c (+240, -90) (Diff)