Background frame extraction

Calculate background frame from video by averaging a subset of frames across entire video.
3.3K Downloads
Updated 1 Apr 2013

View License

The video is downsampled and averaged from beginning to end. This yields a background image which can be subtracted from each frame of the video to yield a movement frame.

Cite As

Alexander Farley (2026). Background frame extraction (https://www.mathworks.com/matlabcentral/fileexchange/41033-background-frame-extraction), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0