資源簡介
對于數(shù)字視頻鏡頭突變切換的檢測,一般有模板匹配法、直方圖法等基本算法,但這些算法都需要確定
閾值,并在實際檢測中通常達不到較高的檢測精度。
代碼片段和文件信息
%?This?funtion?takes?dissimilarity?distribution?as?input?and?output?the
%?shot?boundary.?It?detects?the?shot?cuts?with?adaptive?threshold
%?algorithm.?Since?the?model?come?from?Dr.?Dugad?we?name?it?Dugad_Detect.
function?[cutPosition]?=?Dugad_Detect(distA)
%?model?parameter
Td?=?5;
w?=?20;?%?the?windows?size?is?2*w
cutPosition?=?[];
%?scan?the?cuts
i?=?1;
while?i ????mid?=?i;
????left?=?mid?-?w;?%?left?bound?of?the?window?
????if?left?1?
????????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(:
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1198??2002-12-11?23:29??shot_detection.m
?????文件????????1315??2002-12-11?22:50??cutDetect.m
?????文件??????565760??2002-12-11?16:32??Video?Shot?Detection.ppt
?????文件????????1188??2002-12-11?22:52??getECRFeature.m
?????文件?????????752??2002-12-11?23:29??getHistogramFeature.m
?????文件??????264112??2002-12-05?20:25??Video?Shot?Cut??Detection?using?Adaptive?Thresholding.pdf
?????文件??????597116??2002-12-10?17:35??A?feature-ba
?????文件??????175196??2002-12-06?15:30??Comparison?of?Automatic?Shot?Boundary?Detection?Algorithms.pdf
?????文件??????168899??2002-11-25?16:48??Reliable?Transition?Detection?in?Videos_A?Survey?and?Practitioner’s?Guide.pdf
- 上一篇:day2323文件傳輸流
- 下一篇:hzk16[16*16點陣字庫]
評論
共有 條評論