背景差法目标识别python_基于背景差法的运动目标检测

35

增刊(Ⅱ

)

2005

11

(

)

JOURNAL

OF

SOUTHEAST

UNIVERSITY

(

Natural

Science

Edition

)

Vol

.35

Sup

(Ⅱ

)

Nov

.

2005

于成忠

袁晓辉

(东南大学自动控制系

,

南京

210096

)

(江苏省科技情报研究所

,

南京

210042

)

摘要

:

视频序列图像中

,

视频分割的主要目的是要在视频序列中分割出具有

意义运动

对象实体

.

景差法能够很好地从一段视频中提取出运动目标

.

可靠的背景图像的提取是该算法的关键

.

表述了

一种新的背景提取算法

,

利用图像序列的灰度统计特性来提取背景图像

,

并利

Surendra

景更新

算法根据每帧图像对背景进行更新已获得可靠的

背景

.

然后

,

将当

前帧

与背景

作差

,

对差值

图像

进行适当处理

,

这样运动目标就能够被精确地提取出来

.

关键词

:

视频分割

;

背景提取

;

背景更新

中图分类号

:

TP

391.4

文献标识码

:

A

文章编号

:

1001

-

0505(2005

)

增刊(Ⅱ

)

-0159-03

Video

object

detection

based

on

background

subtraction

Yu

Chengzhong

Zhu

Jun

Yuan

Xiaohui

(

Department

of

Automation

Control

Engineering

,

Southeast

University

,

Nanjing

210096

,

China

)

(

Jiangsu

Institute

of

Technological

Intelligence

,

Nanjing

210042

,

China

)

Abstract

:

For

video

serial

images

,

the

main

objective

of

moving

segmentation

is

to

segment

and

extract

repr

-

esentative

body

from

the

images

.

In

order

to

extract

the

moving

object

better

,

the

method

of

making

difference

between

the

current

frame

and

the

background

is

presented

in

this

paper

.

Extraction

of

the

stable

background

is

the

key

problem

of

this

algorithm

.

A

new

method

to

extract

the

background

is

presented

in

this

paper

.

By

using

the

gray

characters

of

the

video

images

,

a

good

background

can

be

extracted

from

the

former

N

frames

.

Then

use

the

Surendra

algorithm

to

update

the

background

according

to

the

current

frame

.

Finally

a

stable

back

-

ground

can

be

extracted

.

When

the

background

is

extracted

,

the

difference

between

current

frame

and

back

-

ground

can

be

made

.

After

some

processes

on

the

difference

image

,

the

moving

object

can

be

extracted

accu

-

rately

.

Key

words

:

video

segmentation

;

background

extraction

;

background

update

收稿

日期

:2005-06-12

.

作者

简介

:

于成

忠(1980—

),

,

硕士

;

晓辉

(联系

)

,

,

,

士生

导师

,

yuanxh

@

seu

.

edu

.

cn

.

随着科学的发展

,

视频监控系统得到越来越广泛的应用

.

智能视频监控系统用摄像机获取图像并且用

计算机对获取的图像进行处理获取运动目标

.

当有异

常情况发

生时

,

发出预

警提醒

监控

人员

,

同时

启动

像功能

,

对异常现场进行录制保存

.

这样既节省人力又能构

节省大量

的存储

空间

.

运动

检测

是智能

监视

统的核心

.

运动检测的方

法目前

流行的有

光流法

[1

]

帧差

[

2

]

背景差法

[3

]

.

流法运

算公式复

,

计算量

,

适用于实时性要求很高的场合

.

实时性要求很高的情况下一般都采用帧差法和背景差法

.

背景差法是

3

方法中最直接、

最简单的一种方法

.

这种方法事先把背景图像存储下来

,

然后将前景图像与背景图像作差

.

一般情况下

,

由于运动物体在灰度上与背景灰度存在着很明显的差异

,

这样作差过后的差值图像只是在运

动物体出有较大的灰度值

.

选取适当的阈值

T

,

值图像

的灰

度值

大于

T

,

视为

前景物

,

灰度

值小于

T

,

视为背景点

.

运用背景差法通常会遇到背景的获取、

背景的

更新和背

景的扰

.

这些问

题在

本文的

算法

都得到了很好的解决

.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值