Blender Git Commit Log
Git Commits -> Revision b167720
Revision b167720 by Hermann Voßeler (master) August 16, 2016, 11:30 (GMT) |
Rework 2D stabilizator See this page for motivation and description of concepts: https://github.com/Ichthyostega/blender/wiki See this video for UI explanation and demonstration of usage http://vimeo.com/blenderHack/stabilizerdemo This proposal attempts to improve usability of Blender's image stabilization feature for real-world footage esp. with moving and panning camera. It builds upon the feature tracking to get a measurement of 2D image movement. - Use a weighted average of movement contributions (instead of a median). - Allow for rotation compensation and zoom (image scale) compensation. - Allow to pick a different set of tracks for translation and for rotation/zoom. - Treat translation / rotation / zoom contributions systematically in a similar way. - Improve handling of partial tracking data with gaps and varying start / end points. - Have a user definable anchor frame and interpolate / extrapolate data to avoid jumping back to "neutral" position when no tracking data is available. - Support for travelling and panning shots by including an //intended// position/rotation/zoom ("target position"). The idea is for these parameters to be //animated// by the user, in order to supply an smooth, intended camera movement. This way, we can keep the image content roughly in frame even when moving completely away from the initial view. A known shortcoming is that the pivot point for rotation compensation is set to the translation compensated image center. This can produce spurious rotation on travelling shots, which needs to be compensated manually (by animating the target rotation parameter). There are several possible ways to address that problem, yet all of them are considered beyond the scope of this improvement proposal for now. Own modifications: - Restrict line length, it's really handy for split-view editing - In motion tracking we prefer fully human-readable comments, meaning we don't use doxygen with it's weird markup and comments are supposed to start with capital and end with a full stop, - Add explicit comparison of pointer to NULL. Reviewers: sergey Subscribers: kusi, kdawg, forest-house, mardy, Samoth, plasmasolutions, willolis, sebastian_k, hype, enetheru, sunboy, jta, leon_cheung Maniphest Tasks: T49036 Differential Revision: https://developer.blender.org/D583 |
Commit Details:
Full Hash: b1677201f9af7a3e5f5254817179f12384fbdc44
Parent Commit: c00b2d8
Committed By: Sergey Sharybin
Lines Changed: +1698, -332
17 Modified Paths:
/release/scripts/startup/bl_ui/space_clip.py (+69, -23) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -4) (Diff)
/source/blender/blenkernel/intern/tracking.c (+22, -7) (Diff)
/source/blender/blenkernel/intern/tracking_stabilize.c (+1239, -208) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+58, -0) (Diff)
/source/blender/compositor/nodes/COM_MovieClipNode.cpp (+1, -1) (Diff)
/source/blender/compositor/operations/COM_MovieClipAttributeOperation.cpp (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+4, -1) (Diff)
/source/blender/editors/space_clip/clip_utils.c (+2, -10) (Diff)
/source/blender/editors/space_clip/space_clip.c (+4, -16) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+23, -2) (Diff)
/source/blender/editors/space_clip/tracking_ops_stabilize.c (+123, -18) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+19, -8) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+127, -30) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -4) (Diff)
/source/blender/blenkernel/intern/tracking.c (+22, -7) (Diff)
/source/blender/blenkernel/intern/tracking_stabilize.c (+1239, -208) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+58, -0) (Diff)
/source/blender/compositor/nodes/COM_MovieClipNode.cpp (+1, -1) (Diff)
/source/blender/compositor/operations/COM_MovieClipAttributeOperation.cpp (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+4, -1) (Diff)
/source/blender/editors/space_clip/clip_utils.c (+2, -10) (Diff)
/source/blender/editors/space_clip/space_clip.c (+4, -16) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+23, -2) (Diff)
/source/blender/editors/space_clip/tracking_ops_stabilize.c (+123, -18) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+19, -8) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+127, -30) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)