Background frame extraction
Version 1.0.0.0 (1.79 KB) by
Alexander Farley
Calculate background frame from video by averaging a subset of frames across entire video.
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 LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
Find more on Audio and Video Data in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
