<< Chapter < Page | Chapter >> Page > |
We wanted a more serious test of the jitter reduction, with more sudden motion. To do this we wrote some MATLAB codethat takes an individual frame and generates a sequence of frames based on it, each with a random displacement from the original. Theeffect is that of a VERY jerky camera. The KLT-affine transform combination undoes this severe jitter quite nicely.We then superimposed a circular motion on top of the jitter to see if the filtered affine transformation series would preserve it whilestill removing the jitter. It does an acceptable job at this, although there are a few visible kinks.
Additional testing revealed that although the KLT tracker we used does a good job on tracking features through sudden translations, it cannoteffectively deal with large sudden rotations. It loses track of all features in these cases. Hopefully this will not be an issue for our ultimate application, or we will be ableto compensate for the rotation using additional input from gyros.
We also experimented with stabilizing jerky footage from movies, such as the opening scene to Saving Private Ryan. This works quite well!We invite you to test out our code on DVD-quality video and see what you think of the results. (At some point we plan to “stabilize” TheBlair Witch Project so those of us prone to motion sickness can watch it without becoming ill.) Of course the output needs to be croppedsomewhat to eliminate the black border caused by shifting the image: we cannot create data from nothing!
Notification Switch
Would you like to follow the 'Fall 2009 elec301 group project report: video stabilization' conversation and receive update notifications?