Skip to content
Go to file


Failed to load latest commit information.
Latest commit message
Commit time

pbMoMa: Phase Based video MOtion MAgnification

A Python source code implementation of motion magnification based on the paper: Phase Based Video Motion Processing by Neal Wadhwa, Michael Rubinstein, Frédo Durand, William T. Freeman, ACM Transactions on Graphics, Volume 32, Number 4 (Proc. SIGGRAPH), 2013. project.

Note: this follow up code can also handle large motion


  • python 2.7
  • numpy
  • perceptual (Complex steerable pyramid, install with: sudo pip install perceptual)

Organization      # Main file          # Help class to convert a pyramid to a 1d array
media/guitar.mp4        # Example video

Example video


When you run the code 'python' it expects an example video in the 'media' folder. Here we use the video from the motion magnification website.


The pbMoMA implementation is based only on the paper. It was developed independent of the source code that can be requested from the paper authors (this pyton code was written without having access to that code). Therefore, the results from the pbMoMA code may differ from the results by the paper authors. Differences include: using a sliding window, only an Ideal filter, no sub-octave pyramid, and no color.

The code was implemented during the Lorentz Center workshop ICT with Industry: motion microscope. Participants: Joao Bastos, Elsbeth van Dam, Coert van Gemeren, Jan van Gemert, Amogh Gudi, Julian Kooij, Malte Lorbach, Claudio Martella, Ronald Poppe.


Phase based video motion magnification



No releases published


You can’t perform that action at this time.