www.pudn.com > Motion-Detection.rar > run.m, change:2008-01-27,size:225b


clear data 
disp('input video'); 
 
 
avi = aviread('samplevideo.avi'); 
video = {avi.cdata}; 
for a = 1:length(video) 
    imagesc(video{a}); 
    axis image off 
    drawnow; 
end; 
disp('output video'); 
tracking(video);