This code provides an OpenCL accelerated phase-based motion magnification implementation. The work implements the paper "Riesz Pyramids for Fast Phase-Based Video Magnification".
- OpenCV (I used 4.5.1)
- Argtable for parsing command-line arguments
- Use uncompressed video if available
- Increase sigma for larger resolution videos
- Only single octave pyramid supported, that is area between adjacent levels of the pyramid decrease by a factor four
- Use Halide for the implementation
- Currently a Butterworth bandpass filter is used. Perhaps a different type, e.g. Chebyshev type II could improve the temporal phase filtering
The pseudo code and the actual code provided by the authors on their website have been indispensable for creating this implementation.
The original code is patented (US20150195430A1) but is free to use for research and non-commercial purposes. Ye be warned.