资源简介
一种改进的VIBE运动目标检测算法,属于背景差分法,能对不同环境的目标进行检测,能消除鬼影。
代码片段和文件信息
clearclc;
% [filenamepathname] = uigetfile(‘*.avi‘‘choose the video name:‘);%选择视频
video = mmReader(‘34.avi‘);
height = video.Height;
width = video.Width;
tom = zeros(heightwidth);
%参数
Numframes = video.NumberOfframes;
cardinality = 2;%基数
r = 20;%给定半径
n = 20;
%
%初始化 %%%取前20帧作为模型初始化
sample = zeros(heightwidthn);
for nn = 1 : 40
imrgb = read(videonn);
imgray = rgb2gray(imrgb);
video_dis = imgray;
if(rem(nn2)==0)
sample(::nn/2) = imgray;
end
end
bg = padarray(sample[1 1]‘replicate‘);
%随机跟新
% sd = zeros(heightwidth);
% r = zeros(heightwidth);
for f = 41 : Numframes
imageRGB = read(videof);
imageRGB1 = read(videof-1);
imageRGB2 = read(videof-2);
imageRGB3 = read(videof-3);
imageRGB4 = read(video
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5530 2016-11-22 16:23 vibe_tom.m
----------- --------- ---------- ----- ----
5530 1
- 上一篇:自适应的永磁同步电机无位置传感器控制系统
- 下一篇:五自由度机械臂阻抗控制下的力跟踪
相关资源
- ROC曲线 matlab实现
- matlab2019运动目标检测--数字图像处理
- ViBe背景建模Matlab代码
- 检索视频中运动的点并计算线速度角
- 目标检测的DPM模型在windows下的实现
- 基于adaboost算法的目标检测MATLAB代码
- Vibe算法,亲测可用,可用于视频前景
- Vibe背景建模的方法检测运动物体mat
- 基于matlab的运动目标检测源代码
- 人脸目标检测的matlab实现论文
- 基于帧差法的运动目标检测程序matl
- 运动目标检测的混合高斯背景建模m
- 一个基于Matlab的简单的ViBe运动检测的
- DPM算法实现:voc-release5(Win7+matlab20
- 运动目标检测算法Matlab
- 梯形调制调频连续波目标解算流程
- matlab实现运动目标检测与最小外接矩
- MATLAB运动视频检测
- VOC2007目标检测ground truth制作
- MATLAB运动目标检测代码
- FasterRcnn2.m
- 用matlab读取视频文件中的图像,并对
- FCM目标检测代码
- 基于MATLAB的行人检测代码
- 基于MATLAB的vibe算法的运动目标检测代
- 自动驾驶多目标检测.7z
- GMM代码用于目标检测
- 运动目标检测的背景建模
- 基于MATLAB运动目标检测追踪
- 运动目标检测光流法
评论
共有 条评论