Last November, I had to create a MATLAB program that performed motion detection on movies. This particular program uses the Horn-Schunck method to detect areas of motion within a video. It highlights high motion areas (based on a pre-determined threshold) and removes any frames that do not contain motion above that threshold. This could be especially useful for watching boring security cameras (like the one in the example video).
Make sure to have the input video in the same directory as the MATLAB scripts and run hs_vid.m.
My report can be found here: ece5554-proj02
MATLAB files: http://www.box.com/s/0e5y7ar9y5ybef4r937z
Example Output video: http://www.box.com/s/55r7jongn9uy1l1qmmv6