Be the first to rate this file! 30 Downloads (last 30 days) File Size: 2.01 KB File ID: #42017
image thumbnail

Detect Changes from a Video

by Jussi Mattila

 

30 May 2013

Detects changes (movements, colour changes) from a video through frame-to-frame comparison.

| Watch this File

File Information
Description

This script detects changes from a video by comparing each frame of the video into a reference frame, which in this script is defined as the first frame of the input video file. If no changes occur in the video, the resulting comparison frame will only contain zero values, i.e., the frame is black. If changes do occur, these are then shown with white colour in the resulting video. The results are shown in Matlab's Movie Player and, in addition, the resulting video is written into an avi-file.

Note that a prerequisite for using this script is Matlab's Image Processing Toolbox.

Computation for large video files will be time consuming...

Required Products Image Processing Toolbox
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File  
Everyone's Tags
change detection, frame, image processing, movie, video
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us