基于运动的多目标跟踪我要分享

Motion based multiple object tracking

matlab 跟踪 基于 目标 运动

关注次数: 295

下载次数: 0

文件大小: 4.99 MB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:输入视频转换为frames.RGB视频,然后转换到HSV model.In为了提取前景,我们执行背景减除算法是基于高斯混合模型。我们计算的平均值和对于每一帧的标准偏差,并与预定的阈值进行比较在连续两帧之间的平均值的差异。如果该值大于它被作为其他它被认为是作为背景的前景的阈值。然后,我们使用Canny算子来改善前景的边界的质量进行边缘检测。为了跟踪前景和把一个边界框,我们使用了卡尔曼滤波。


English Description:

The input video is converted toframes.RGB video is then converted to HSV model.Inorder to extract the foreground, we perform background subtraction algorithmwhich is based on Gaussian mixture model. We calculate the mean and standarddeviation for every frame and the difference in the mean between twoconsecutive frames is compared with the predefined threshold. If the value isgreater than the threshold it is taken as the foreground else it is consideredas the background. Then we perform edge detection using canny operator toimprove the quality of the boundary of foreground. In order to track theforeground and put a bounding box we use the kalman filter.


代码预览