Video magnification in presence of large motions

Mohamed A. Elgharib, Mohamed Hefeeda, Frédo Durand, William T. Freeman

Abstract

Video motion magnification is a powerful tool for visualizing subtle, often invisible, temporal variations in video sequences. However, traditional methods struggle when the subject undergoes significant global motion, leading to severe artifacts like blurring or noise. This paper introduces Dynamic Video Motion Magnification (DVMAG), a framework that combines intelligent stabilization with a novel layer-based magnification approach. By magnifying both the object's texture and its alpha matte, DVMAG successfully isolates and amplifies micro-motions even amidst macro-scale movement.

Introduction: The Challenge of Large Motion

Video magnification acts as a "temporal microscope," revealing hidden phenomena such as a human pulse or the structural vibrations of a bridge. Existing techniques generally fall into two categories: Eulerian (analyzing fixed spatial locations over time) and Lagrangian (tracking specific pixels).

The primary limitation of these methods is their inability to handle large-scale motion. For instance, capturing the tiny wobbles of an iris (microsaccades) while an eye is moving is nearly impossible with standard Eulerian methods, which produce massive blurring "haloes" because they cannot distinguish tiny vibrations from large movements. Conversely, Lagrangian methods are highly sensitive to tracking errors, often resulting in jittery and noisy output. DVMAG addresses this "Achilles' heel" by bridging the gap between micro-magnification and macro-motion.

Methodology: The DVMAG Pipeline

The DVMAG framework operates in two primary stages to isolate and amplify subtle signals:

  1. Stabilization (Warping): The system first locks onto a region of interest (ROI) using KLT tracking or optical flow. By applying a parametric model, such as an affine transformation, the large-scale motion is estimated and compensated for. This effectively "freezes" the macro-motion, allowing for the analysis of subtle variations.
  2. Layer-Based Magnification: The core innovation of DVMAG lies in its decomposition of the stabilized image into three layers: an opacity matte, a foreground, and a background.
  3. Matte Magnification: Eulerian magnification is applied to both the foreground texture and the alpha matte. This prevents "background dragging," where the edges of a magnified object smear into the background.
  4. Texture Synthesis: To handle dis-occlusion—holes created when an magnified object moves to a new position—the system employs texture synthesis (inpainting) to realistically fill the background.
  5. De-warping: Finally, the magnified layers are recomposited and transformed back into the original video's coordinate system, showing the large motion and the magnified micro-motion simultaneously.

Results and Discussion

The authors evaluated DVMAG on several challenging real-world sequences, including the "Eye" sequence (microsaccades), "Bulb" (light flickering during movement), and "Gun" (arm recoil).

Comparison of video magnification methods on the 'Eye' sequence. DVMAG preserves detail and reveals microsaccades without the blurring of Eulerian or the noise of Lagrangian methods.

As shown in the comparison above, DVMAG demonstrates clear qualitative superiority. In the "Eye" sequence, it reveals the iris wobbling distinctly, whereas the Eulerian approach results in a blurry mess and the Lagrangian approach is plagued by noise. Quantitatively, DVMAG significantly outperformed existing methods on synthetic benchmarks using the Structural Similarity (SSIM) index. In tests involving a vibrating guitar string with global motion, DVMAG's accuracy was approximately 200% higher than standard Eulerian techniques.

Conclusion

DVMAG represents a significant advancement in video processing, making motion magnification practical for real-world scenarios where subjects are rarely perfectly still. By recognizing that magnifying an object's shape (the matte) is as crucial as magnifying its color, the researchers have mitigated the most persistent artifacts in the field. While some manual intervention is still occasionally required for complex compositing, DVMAG handles much larger amplification factors before image quality degrades, opening new doors for engineering and medical applications.

Summary updated

BibTeX
@inproceedings{elgharib2015video,
  author = {Mohamed A. Elgharib and Mohamed Hefeeda and Frédo Durand and William T. Freeman},
  title = {{Video magnification in presence of large motions}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299039},
}
Figure