Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jvgemert/pbMoMa
Phase based video motion magnification
https://github.com/jvgemert/pbMoMa
Last synced: 2 days ago
JSON representation
Phase based video motion magnification
- Host: GitHub
- URL: https://github.com/jvgemert/pbMoMa
- Owner: jvgemert
- Created: 2015-12-17T10:25:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T09:04:30.000Z (over 7 years ago)
- Last Synced: 2024-08-02T13:28:47.357Z (3 months ago)
- Language: Python
- Size: 1.12 MB
- Stars: 131
- Watchers: 14
- Forks: 40
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pbMoMa: Phase Based video MOtion MAgnification
A Python source code implementation of motion magnification based on the paper: [Phase Based Video Motion Processing](http://people.csail.mit.edu/mrub/papers/phasevid-siggraph13.pdf) by Neal Wadhwa, Michael Rubinstein, Frédo Durand, William T. Freeman, ACM Transactions on Graphics, Volume 32, Number 4 (Proc. SIGGRAPH), 2013. [project](http://people.csail.mit.edu/nwadhwa/phase-video/).
#### Note: this follow up code can also handle large motion https://acceleration-magnification.github.io/
### Requirements:
- python 2.7
- numpy
- [perceptual](https://github.com/andreydung/Steerable-filter) (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](guitar.mp4) video from the motion magnification website.
### AboutThe 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](http://www.lorentzcenter.nl/) workshop [ICT with Industry: motion microscope](http://www.lorentzcenter.nl/lc/web/2015/775/info.php3?wsid=775&venue=Oort). Participants: Joao Bastos, Elsbeth van Dam, Coert van Gemeren, Jan van Gemert, Amogh Gudi, Julian Kooij, Malte Lorbach, Claudio Martella, Ronald Poppe.