Video Stabilization for Embedded Systems - User Guide - Selecting the cutoff frequency

From RidgeRun Developer Wiki



Previous: User Guide Index Next: User Guide/Preparing the image





This page provides the basic steps for tuning the cutoff frequency used by the stabilization filter. This frequency determines what movement is reduced and what movement is passed as intended camera movement.

Test video

In order to tune the cutoff frequency you need an example video, preferably short (10 to 20 seconds), that exhibits the camera movement of the real world application intended for this library. The video must be in a format compatible with OpenCV. If you are using Linux, OpenCV delegates the video decoding to other libraries like FFMPEG, so you can execute the following command to get all supported formats:

ffmpeg -formats

In case you need to convert the example video, avi and mp4 formats are safe bets for the conversion.

Video file stabilization with logs

Frequency domain analysis

Previous: User Guide Index Next: User Guide/Preparing the image