资源简介
对于数字视频镜头突变切换的检测,一般有模板匹配法、直方图法等基本算法,但这些算法都需要确定
阈值,并在实际检测中通常达不到较高的检测精度。
代码片段和文件信息
% 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) < maxw
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点阵字库]
评论
共有 条评论