Skip to content

reyhanhosavci/Video-Motion-Magnification

Repository files navigation

Video Motion Magnification Using Split Spectrum Processing (SSP)

This repository provides a MATLAB implementation of Eulerian Video Motion Magnification, leveraging Split Spectrum Processing (SSP) and, alternatively, band-pass IIR filtering to amplify subtle periodic motions in image sequences or videos.

The framework is designed to work with both synthetic simulations and real video inputs, enabling controlled evaluation and practical experimentation.

Original Input Ground Truth
SSP (α = 20) Band-Pass Filter (α = 20)

Overview

The processing pipeline consists of the following stages:

  1. Frame generation (synthetic or real video)
  2. Spatial decomposition using Gaussian and Laplacian pyramids
  3. Temporal processing -Split Spectrum Processing (SSP), or -Band-pass IIR filtering
  4. Motion magnification
  5. Pyramid reconstruction
  6. Visualization of magnified motion

Main Script

main.m

This script implements the complete motion magnification pipeline.

Main functionalities include: -Generation of synthetic frames with sinusoidal motion

-Construction of Gaussian and Laplacian pyramids

-Temporal processing via SSP or band-pass filtering

-Motion amplification using a magnification factor (alpha)

-Reconstruction of magnified frames

-Visualization of original and magnified sequences

The script can be easily adapted to real videos using videoReadFunction.m.

Usage

  1. Open the repository in MATLAB.
  2. Run main.m.
  3. By default, motion magnification is performed on synthetic simulation frames.
  4. To process real videos:

-Enable and configure videoReadFunction.m inside main.m.

Key Parameters

alpha : Motion magnification factor

f1, f2 : Lower and upper cutoff frequencies

Fs : Frame rate (frames per second)

depth : Number of pyramid levels

About

Video motion magnification process on a vibrating white circle video

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages