Home

Awesome

🐇 FD4MM

Official PyTorch implementation for the paper:

Frequency Decoupling for Motion Magnification via Multi-Level Isomorphic Architecture, CVPR 2024.

Fei Wang, Dan Guo*, Kun Li, Zhun Zhong, Meng Wang*.

arXiv | GitHub Stars | | <a href=' '><img src='https://img.shields.io/badge/Demo-Open in Colab-blue'></a>

<p align="center"> <img src="https://github.com/Jiafei127/FD4MM/blob/main/fig/poster.png" width="90%"/> </p>

✒️: Abstract

Video Motion Magnification (VMM) aims to reveal subtle and imperceptible motion information of objects in the macroscopic world. Prior methods directly model the motion field from the Eulerian perspective by Representation Learning that separates shape and texture or Multi-domain Learning from phase fluctuations. Inspired by the frequency spectrum we observe that the low-frequency components with stable energy always possess spatial structure and less noise making them suitable for modeling the subtle motion field. To this end, we present FD4MM a new paradigm of Frequency Decoupling for Motion Magnification with a Multi-level Isomorphic Architecture to capture multi-level high-frequency details and a stable low-frequency structure (motion field) in video space. Since high-frequency details and subtle motions are susceptible to information degradation due to their inherent subtlety and unavoidable external interference from noise we carefully design Sparse High/Low-pass Filters to enhance the integrity of details and motion structures and a Sparse Frequency Mixer to promote seamless recoupling. Besides we innovatively design a contrastive regularization for this task to strengthen the model's ability to discriminate irrelevant features reducing undesired motion magnification. Extensive experiments on both Real-world and Synthetic Datasets show that our FD4MM outperforms SOTA methods. Meanwhile, FD4MM reduces FLOPs by 1.63x and boosts inference speed by 1.68x than the latest method.


📅: Data Preparation

Tips: ffmpeg can also be installed by conda.

Tips: Thanks to a fellow friend Peng Zheng for the help!

📑: Performance Comparison

🔖: Citation

If you found this code useful please consider citing our FD4MM, EulerMormer:

@inproceedings{wang2024frequency,
  title={Frequency decoupling for motion magnification via multi-level isomorphic architecture},
  author={Wang, Fei and Guo, Dan and Li, Kun and Zhong, Zhun and Wang, Meng},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={18984--18994},
  year={2024}
}
@inproceedings{wang2024eulermormer,
  title={Eulermormer: Robust eulerian motion magnification via dynamic filtering within transformer},
  author={Wang, Fei and Guo, Dan and Li, Kun and Wang, Meng},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={38},
  number={6},
  pages={5345--5353},
  year={2024}
}