資源簡介
運用MATLAB實現視頻中動態物體的檢測與追蹤。代碼經個人使用過,絕對可用,但請注意該視頻背景是靜止的,并且是單目標檢測。

代碼片段和文件信息
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);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????218??2009-08-24?13:11??VERY??GOOD?Motion?Detection\Read?me.txt
?????文件?????706866??2009-08-24?13:02??VERY??GOOD?Motion?Detection\Related?Document.pdf
?????文件????????225??2009-10-24?21:09??VERY??GOOD?Motion?Detection\run.m
?????文件?????638976??2005-03-14?13:59??VERY??GOOD?Motion?Detection\SampleVideo.avi
?????文件???????2690??2009-10-25?10:48??VERY??GOOD?Motion?Detection\tracking.m
?????目錄??????????0??2009-10-24?16:46??VERY??GOOD?Motion?Detection
-----------?---------??----------?-----??----
??????????????1348975????????????????????6
- 上一篇:基于變分水平集的圖像分割
- 下一篇:KPCA matlab實現
評論
共有 條評論