SGM(Singe Gaussian Model-matlab) 读入图像,显示实时更新背景和运动物体我要分享

SGM (single Gaussian model matlab) reads in the image and displays the real-time updated background

matlab 图像 显示 运动 物体 读入 背景 实时更新 SGMSingeGaussianModelmatlab

关注次数: 270

下载次数: 0

文件大小: 15.02 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

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

代码描述

中文说明:运用单高斯模型,首先选视频20帧初始化一个背景,然后用单高斯背景模型实时更新背景,在第一个面板显示当前帧的图像,第二个面板显示当前实时背景,第三个面板显示图像不同位置上点(本程序显示20个)的20帧的像素值的箱型图和条形图,看分布用,第四个面板显示的检测出的运动物体(当前帧的图像的像素值减掉当前实时背景的像素值,利用阈值判定,需自己根据视频设置)


English Description:

Using the single Gaussian model, first select 20 frames of video to initialize a background, and then use the single Gaussian background model to update the background in real time. The first panel displays the image of the current frame, the second panel displays the current real-time background, and the third panel displays the box chart and bar chart of the pixel values of 20 frames at different positions of the image (this program displays 20 points), which is used to see the distribution The panel displays the detected moving object (the pixel value of the current frame image minus the pixel value of the current real-time background, using the threshold to determine, according to the video settings)


代码预览