Background frame extraction

Calculate background frame from video by averaging a subset of frames across entire video.

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/41033-background-frame-extraction), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0