資源簡介
根據視頻中的動態目標,對移動目標進行實時跟蹤,能夠較好的提取出視頻中走動的大叔!

代碼片段和文件信息
avi?=?aviread(‘highway.avi‘);
video?=?{avi.cdata};
highway1?=?cat(4video{1:2:end});
nframes?=?size(highway14);
for?f?=?1:nframes
????highway(::f)?=?rgb2gray(highway1(:::f));??
end
subplot(131)
imshow(highway(::142));
subplot(132);
imshow(highway(::143));
subplot(133);
imshow(highway(::142)-highway(::143));
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-12-19?10:26??Motion-Detection?Background?Substruction\
?????文件?????????346??2010-11-12?08:59??Motion-Detection?Background?Substruction\extract.m
?????文件?????????477??2010-11-12?10:10??Motion-Detection?Background?Substruction\extractroom.m
?????文件?????????236??2018-12-19?10:29??Motion-Detection?Background?Substruction\run.m
?????文件??????292486??2018-12-19?09:35??Motion-Detection?Background?Substruction\SampleVideo.avi
?????文件????????2731??2018-12-19?10:34??Motion-Detection?Background?Substruction\tracking.m
評論
共有 條評論