Re:Opensource tool to create slowmotion videos from your foo...
by rhizome on Wednesday November 30, 2011 @06:14AM
(#3294668)
What's the relationship between "optical flow" and tweening?
[ Parent
| on HN ]
Re:Opensource tool to create slowmotion videos from your foo...
by tycho77 on Wednesday November 30, 2011 @03:21PM
(#3296727)
To find optical flow, you first pick out a collection of sample points in frame A. What constitutes a good sample point depends on your specific algorithm, although generally speaking you pick "corners". In OpenCV, you can easily do this by calling cvGoodFeaturesToTrack().
You then search for those same sample points in the successive frame B, and end up with a collection of vectors that probably represent the motion of each point. Using OpenCV, this is usually done with cvCalcOpticalFlowPyrLK().
Tweening is basically just interpolation.
Re:Opensource tool to create slowmotion videos from your foo...
by karolist on Thursday December 01, 2011 @04:37AM
(#3298981)
This is very cool, thanks for that. Can we run this on a GPU? If not, how feasible would dense optical flow running on cpu be in terms of speed to convert short non-hd videos?
Re:Opensource tool to create slowmotion videos from your foo...
by jonbro on Wednesday November 30, 2011 @06:45AM
(#3294722)
Optical Flow is a method for determining the movement between two or more frames of video. This data is then used for morphing the frames into one another, or moving the underlying vertexes of the textures from one position to the next.