diff options
author | Ichthyostega <prg@ichthyostega.de> | 2016-08-22 08:02:22 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-23 12:53:35 +0300 |
commit | baaa2d6d396ef8003cf2241ae0a6304d6aebb496 (patch) | |
tree | cbb8b4e73291642bc56d9de1eaf6b2bbf1c1c790 /extern/clew/src/clew.c | |
parent | 498ba756abeec746322b883d98ba6a192f37e7ea (diff) |
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.
Diffstat (limited to 'extern/clew/src/clew.c')
0 files changed, 0 insertions, 0 deletions