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

資源簡(jiǎn)介

畢業(yè)設(shè)計(jì),利用Matlab實(shí)現(xiàn)對(duì)突變和漸變兩種鏡頭的檢測(cè),在鏡頭分割基礎(chǔ)上進(jìn)行關(guān)鍵幀的提取。在GUI中能觀察分割提取的最終結(jié)果

資源截圖

代碼片段和文件信息

%?This?funtion?takes?dissimilarity?distribution?as?input?and?output?the
%?shot?boundary.?It?detects?the?shot?cuts?with?adaptive?threshold
%?algorithm.?

function?[cutPosition]?=?cutDetect(distA)

%?model?parameter
Td?=?5;
w?=?20;?%?the?windows?size?is?2*w
step?=?10;

cutPosition?=?[];
%?scan?the?cuts
i?=?1;
while?i????mid?=?i;
????left?=?mid?-?w;?%?left?bound?of?the?window?
????if?left?????????left?=?1;
????end
????
????right?=?i+w;?%?right?bound?of?the?window
????if?right>size(distA1)
????????right?=?size(distA1);
????end
????
????%?determine?whether?mid?has?the?max?value?in?the?neighbourhood
????maxw?=?max(distA(left:right2));
????if??distA(mid2)?????????maxpos?=?find(distA(:2)==maxw);
????????if?i????????????i?=?maxpos(1);
????????else
????????????i?=?i+1;
????????end
????????continue;
????end
????
????%?determine?whether?mid?is?big?enough?to?be?a?cut
????lmean?=?mean(distA(left:mid-12));
????lstd?=?std(distA(left:mid-12));
????rmean?=?mean(distA(mid+1:right2));
????rstd?=?std(distA(mid+1:right2));
????if?distA(mid2)>max(lmean+Td*lstd?rmean+Td*rstd)
????????cutPosition?=?[cutPosition;distA(mid1)];????????
????end
????i?=?right+1;
end
j?=?0;
while?i????if?j?>?0
????????j?=?j?-?1;
????????continue;
????end
????if?sum(distA(i:i+w/4))-sum(distA(i+step:i+step+w/4))?>?...
????????sum(dist(i:i+step+w/4))/(step+w/4)
????????cutPosition?=?[cutPosition;distA(i+step/21)];
????????j?=?step;
????end
end
cutPosition?=?sort(cutPosition);
for?i?=?1:size(cutPosition)
????cutPosition(i2)?=?distA(cutPosition(i1)-12);
end
return;

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件????1658864??2018-03-30?22:15??Av20204332.mp4

?????文件???????1681??2018-04-15?18:12??cutDetect.m

?????文件????????281??2009-05-28?21:01??EulerDistanceDiff.m

?????文件???????1060??2018-04-01?17:23??getCannyHistogramFeature.m

?????文件????????767??2018-04-16?00:06??getHSVHistogramFeature.m

?????文件??????41136??2018-04-15?17:52??GUI1.fig

?????文件??????12704??2018-04-16?00:14??GUI1.m

?????文件???????4787??2018-04-16?00:07??my_shot_detection.m

?????文件????????941??2018-04-16?00:17??readme.txt

?????文件????1118338??2018-03-30?20:35??Av3346624.mp4

?????目錄??????????0??2018-04-15?17:53??參考文獻(xiàn)

?????文件????1398474??2018-04-01?09:26??參考文獻(xiàn)\shot_detection.zip

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

??????????????4239033????????????????????12


評(píng)論

共有 條評(píng)論