Image-stabilization for video-surveillance applications