Skip to content

Instantly share code, notes, and snippets.

@jackdoerner
jackdoerner / riesz_pyramid.py
Last active March 1, 2023 01:04
Riesz Pyramid Creation and Reconstruction in Python
"""
riesz_pyramid.py
Conversion between Riesz and Laplacian image pyramids
Based on the data structures and methodoligies described in:
Riesz Pyramids for Fast Phase-Based Video Magnification
Neal Wadhwa, Michael Rubinstein, Fredo Durand and William T. Freeman
Computational Photography (ICCP), 2014 IEEE International Conference on
Copyright (c) 2016 Jack Doerner