tags:

views:

65

answers:

1

I need to write code for stable filming vibrations

+3  A: 

Try this to get started:

  1. Generously cut away the border of the image. It will just get in the way and since the camera is shaking, the border will not help anyway. Concentrate on the center of the image.

  2. Find some places in the center where the contrast changes a lot. There should be predefined filters for that in maplab.

  3. Find several corners or similar (a place where two lines intersect) in this image. To do this, find a place where only a few pixels are white. Then try to fit a line along them.

  4. Load the next image from the movie and do the same preprocessing. Look for intersection points which are close to the ones you found in the image before. When you can locate 3-4 of them, this should give you a pretty good idea how the camera moved.

Note that you have to fix a lot of motions: Horizontal/vertical shift, rotation around all three axis, movement of the filmed object itself. So more places to match are better.

[EDIT] Sounds like too much work? Buy a video editing software for $100 and run your movie through it.

Google turned up this link: http://www.smoovee.net/

Make them look like they were shot with a SteadyCam. Automatically.

Aaron Digulla

related questions