CIS 9601 Spring 2011

Homework 1: Detecting Moving Objects


Please build the basis of a simple surveillance system. Given a series of grayvalue pictures, a first task is to detect frames showing movement in the scene. The second task is to locate the movement. You are free to come up with any ideas, you can use whatever tools you know (restricted to MATLAB).

Apply your surveillance system to 2 movies (see beelow), compare the results. Please hand in the program and a written report describing your approach and the results, discuss the results and point out possible ways to overcome shortcomings in your approach. Please be aware that a general surveillance system is a hard task, don't be too frustrated if your system does not perform perfectly, especially for movie2.

The MOVIE1 is a MATLAB workspace containing a variable 'ag'. 'ag' is a 240x320x56 matrix containing 56 grayvalue images taken from a movie (starring a famous professor). The movie shows a static indoor scene with a single moving object, the following images show 3 frames out of the 56.



You can show the images as a movie using the following code:
for i=1:size(ag,3)
imshow(ag(:,:,i));
pause(0.03);
end

The MOVIE2 is again a MATLAB workspace containing a variable 'ag', it's a bit longer and the content is far more complicated (it's a rainy Broadstreet scene).

Good luck and enjoy!