Coder Social home page Coder Social logo

pbmoma's Introduction

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 https://acceleration-magnification.github.io/

Requirements:

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

Organization

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

Example video

./media/guitar.mp4

When you run the code 'python phasebasedMoMag.py' it expects an example video in the 'media' folder. Here we use the http://people.csail.mit.edu/mrub/evm/video/guitar.mp4 video from the motion magnification website.

About

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.

pbmoma's People

Contributors

jkooij avatar jvgemert avatar

Watchers

James Cloos avatar Xiaofeng Qu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.