Video Background Subtraction With Dynamic Mode Decomposition

In this UW AMATH582 assignment we will subtract stationary background from videos of moving objects using Dynamic Mode Decomposition (DMD). We approximate the unknown dynamics with a linear system by organizing the image sequence into two sets related by the linear difference equation allowing us to solve for its matrix by least squares. We then discard the low frequency mode corresponding to the static background.

Read a detailed explanation of Dynamic Mode Decomposition and its application to video background subtraction here.

The Github project is availabe here: https://github.com/aruymgaart/AMATH/tree/master/video_background_dynamic_mode_decomposition_582HW5.

Python implementation of DMD:

Comments

Popular posts from this blog

Data science & ML Video Tutorials Part II - Group & Set Theory (Groups, Rings & Fields)

Finite Difference Simulation of a Helmholtz Resonator - 2D Acoustic Wave Equation

Combination Finite Difference & Spectral Solution to Advection-Diffusion PDE