91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

在MATLAB環境下,用混合高斯背景建模的方法實現對視頻中運動目標的檢測

資源截圖

代碼片段和文件信息

%?This?m-file?implements?the?mixture?of?Gaussians?algorithm?for?background
%?subtraction.??It?may?be?used?free?of?charge?for?any?purpose?(commercial
%?or?otherwise)?as?long?as?the?author?(Seth?Benton)?is?acknowledged.


clear?all

%?source?=?aviread(‘C:\Video\Source\traffic\san_fran_traffic_30sec_QVGA‘);
source?=?aviread(‘C:\Documents?and?Settings\Administrator\桌面\分割\1.avi‘);

%?-----------------------??frame?size?variables?-----------------------

fr?=?source(1).cdata;???????????%?讀取第一幀作為背景
fr_bw?=?rgb2gray(fr);??????????%?將背景轉換為灰度圖像
fr_size?=?size(fr);?????????????%取幀大小
width?=?fr_size(2);
height?=?fr_size(1);
fg?=?zeros(height?width);
bg_bw?=?zeros(height?width);

%?---------------------?mog?variables?-----------------------------------

C?=?3;??????????????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????5699??2010-01-21?16:11??mixture_of_gaussians.m

?????文件??????26112??2010-01-21?16:10??matlab問題文檔.doc

-----------?---------??----------?-----??----

????????????????31811????????????????????2


評論

共有 條評論