QStab: A lightweight video stabilization algorithm robust to high-frequency perturbations
Abstract
In this study, QStab, a novel real-time video stabilization method is introduced, specifically designed to be robust against high-frequency perturbations commonly encountered near internal combustion engines or other sources of rapid mechanical vibrations. QStab employs a lightweight queue-based mechanism. This method, termed “frame mirroring”, identifies and displays the frame of the buffer exhibiting the minimum mean squared error relative to an adaptively updated reference frame, thus suppressing jitter while maintaining visual continuity. Experimental evaluations on challenging benchmark datasets (SBMNet and NUS) demonstrate that QStab consistently achieves a perfect cropping ratio of 1.0 across all test categories, thereby preserving full-frame content, a key advantage over existing methods. Additionally, it delivers a strong inter-frame transformation fidelity (ITF) score and competitive distortion metrics, confirming both temporal smoothness and geometric consistency. Although its stability score is slightly lower than that of state-of-the-art deep learning methods, the overall performance reflects a well-balanced trade-off between visual quality and computational simplicity. Given its low complexity and real-time execution, QStab is particularly suitable for embedded systems and real-world surveillance applications in vibration-intensive environments. The source code of our proposed method can be found in our GitHub page.