CN102509073A - Static target segmentation method based on Gauss background model - Google Patents

Static target segmentation method based on Gauss background model Download PDF

Info

Publication number
CN102509073A
CN102509073A CN2011103145761A CN201110314576A CN102509073A CN 102509073 A CN102509073 A CN 102509073A CN 2011103145761 A CN2011103145761 A CN 2011103145761A CN 201110314576 A CN201110314576 A CN 201110314576A CN 102509073 A CN102509073 A CN 102509073A
Authority
CN
China
Prior art keywords
background
background model
model
pixel
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103145761A
Other languages
Chinese (zh)
Inventor
厉鹏
王宸昊
王冲鶄
刘允才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN2011103145761A priority Critical patent/CN102509073A/en
Publication of CN102509073A publication Critical patent/CN102509073A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention relates to a static target segmentation method based on a Gauss background model. The method comprises the following steps of: firstly, building a Gauss mixed model according to a first frame or pre-loading background, and loading parameter thresholds of the required parts; when a new frame enters, scanning pixel by pixel and matching with a background model; if distribution which is the same with a previous frame is matched, adding one, otherwise returning to zero; then carrying out parameter updating according to a matching result, sorting updated distributions, and selecting a corresponding generated background model according to the thresholds; filtering a smaller foreground part by finding a connected domain, so as to eliminate interference of noise and complicated background, and carrying out parameter restoration pixel by pixel according to an accumulated value of a counter at the foreground part. By applying the method provided by the invention, the Gauss background model can effectively identify a static object which enters into a background for a long time, and sensitivity identification to luminosity and learning capability of the Gauss background model can be maintained.

Description

A kind of method of cutting apart based on the static object of Gaussian Background model
Technical field
The present invention relates to advanced the manufacturing and automatic field, in particular, relate to the method for the Gaussian Background model that can static foreground target segmented extraction be come out.
Background technology
In video monitoring,, usually adopt the mode that makes up background model in order to extract target object.And the most typically be exactly the Gaussian Background model algorithm (Chris Stauffer and W. Eric L. Grimson, " Learning Patterns of Activity Using Real-Time Tracking, " IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 22; no. 8, pp. 747 – 757,2000. use method for real time tracking to carry out the pattern action learning); it can make up several Gaussian distribution for each pixel; mate judgement and whether belong to prospect, and brings in constant renewal in the parameter of Gaussian distribution, and then has solved the problems such as noise, illumination of background effectively.
After the Gaussian Background model proposed, it was widely used in the various video processnig algorithms.The Gaussian Background model is all very outstanding to the learning ability and the adaptive faculty of change of background, can rapidly moving object and background separation be come out immediately.Yet after target object stopped to keep static a period of time, the Gaussian Background model can be updated to this object on the background automatically, and then lose objects.This cannot accept in the monitoring field, and the pace of learning of for this reason frequently regulating the Gaussian Background model can not well address this problem.
Present a kind of method (Xiaodong Cai, Falah Ali, E. Stipidis, Background Modeling for Detecting Move-then-stop Arbitrary-long time Video Objects2009 10th WIAMIS; Detect that random time moves the background model that stops object in the video) propose to adopt the mode that stops to upgrade the Gaussian Background model according to threshold determination; Can discern the stationary object that is no more than certain hour, but unsatisfactory for the object effect that surpasses certain hour, and also filtering illumination and shade etc. change the influence that produces effectively to stop renewal itself.
Summary of the invention
The objective of the invention is to deficiency to prior art; A kind of method of cutting apart based on the static object of Gaussian Background model is proposed; Be the improvement algorithm of present Gaussian Background model, this method can solve the problem that stationary body is updated to background model and not influenced by illumination shade etc. simultaneously.
The present invention with Gaussian Background model and EM improve algorithm (P. Kaewtrakulpong, R. Bowden, An Improved Adaptive Background Mixture Model for Realtime Tracking with Shadow Detection, In Proc. 2nd European Workshop on Advanced Video Based Surveillance Systems, AVBS01; Sept. 2001, the improvement and the shadow Detection of real-time follow-up adaptive background mixture model) (the EM algorithm is Dempster, Laind for the basis; A kind of method of asking the parameter maximum likelihood to estimate that Rubin proposed in 1977, i.e. expectation-maximization algorithm), (full name is: Open Source Computer Vision Library based on the OpenCV code library; The computer vision of promptly increasing income storehouse; Constitute by a series of C functions and a small amount of C++ class, realized a lot of general-purpose algorithms of Flame Image Process and computer vision aspect), added a kind of parameter retrieving algorithm; Thereby improved the shortcoming of the incompatibility stationary body of model own, and can adapt to factors vary such as illumination effectively.
Technical scheme of the present invention: at first set up the Gaussian Background model, and IMU is crossed the EM algorithm Gaussian Background model parameter is upgraded.After upgrading end, extract the zone of removing area much smaller than the target area through connected domain; As foreground area, each pixel substitution condition judgment surpasses certain threshold value if the pixel of target area repeats to belong to unified Gaussian distribution number of times with remaining afterwards zone; Then this pixel Gaussian distribution is carried out the parameter reduction; The reduction continued is participated in the renewal of Gaussian Background model, and then can effectively be partitioned into the static object object, and can adapt to the variation of luminosity and shade.
Stationary body partitioning algorithm based on the Gaussian Background model of the present invention comprises following step:
1. first two field picture according to prestore background picture or video makes up the Gaussian Background model, is written into the corresponding initial parameter of model, storage allocation space, some structural parameters of initial model.
2. after second frame or other frames are written into, each pixel and background dot respective pixel are mated, carry out parameter update according to matching result.The parameter update formula selects basis whether to arrive the frame number decision of learning rate.The same distribution of each coupling then this multiplicity adds one, and then zero clearing does not match.
3. to the Gaussian distribution weights of each point and descending ordering of ratio of variance.According to coupling distribute corresponding weights and before weights with whether whether mate background greater than this point of threshold value decision, not matching then is the foreground point.
4. carry out connected domain scanning, filter much smaller than the foreground area of target object size.
5. foreground point and the shadow spots that obtains scanned, whether the multiplicity that detects each point surpasses threshold value, and surpass threshold value and then carry out the parameter reduction, and the multiplicity zero clearing.
The mode of reducing through the adding parameter among the present invention, thereby can avoid static prospect to be learnt to get into background.Owing to do not stop to upgrade, can adapt to luminosity and change and change comparatively complicated background model simultaneously.This not only can remedy the shortcoming that Gauss model own can't be discerned long-time static target object; And can keep Gaussian Background model itself to responsive identification of luminosity and learning ability, can be applicable to fields such as low cost is camera supervised, video behavior description, human motion analysis.
Description of drawings
Fig. 1 upgrades schematic flow sheet for adopting Gauss model of the present invention.
Embodiment
In order to understand technical scheme of the present invention better, following formula computation process combines accompanying drawing, does further to describe in detail.Specifically carry out as follows:
1. according to video first frame or be preloaded into background image and make up Gauss model; Each Color Channel of each pixel (RGB3 passage altogether) makes up K Gauss model distribution (K gets 3 ~ 5 usually); Be written into corresponding initiation parameter; Comprise learning rate win_size (being that initial back-ground model study needs frame number), matching threshold Std_threshold, weights threshold value bg_stdshold, variance initial value var_init, target Minimum Area threshold value Area_threshold, repeat counter counter threshold value counter_threshold, initialization each point Gaussian distribution model.The corresponding average of first distribution is used for the initialization background model, that is:
Figure 267727DEST_PATH_IMAGE002
?
Figure 184868DEST_PATH_IMAGE003
Figure 902288DEST_PATH_IMAGE005
6. if this coupling Gaussian distribution of this pixel is consistent with last time, then counter adds 1, otherwise zero clearing.
Figure 2011103145761100002DEST_PATH_IMAGE009
10 Gaussian Background model modifications finish, if be written into next frame, then circulation gets into step 3 again.This moment, target can not be updated in the background model because rest time is long, and because upgrading link does not stop, can better adaptability be arranged to luminosity variation and complex background.

Claims (8)

1. a method of cutting apart based on the static object of Gaussian Background model is characterized in that, comprises following concrete steps:
First two field picture according to prestore background picture or video makes up the Gaussian Background model, and each Color Channel of each pixel makes up K Gauss model and distributes, and is written into the corresponding initial parameter of model, comprises learning rate win_size, matching threshold Std_threshold, weights threshold value bg_stdshold, variance initial value var_init, target Minimum Area threshold value Area_threshold, repeat counter counter threshold value counter_threshold, initialization each point Gaussian distribution model, storage allocation space;
When a new frame is written into; K Gaussian distribution to each passage of each pixel and background model mated successively; And return corresponding matching result, and carrying out parameter update according to matching result, the parameter update formula selects basis whether to arrive the frame number decision of learning rate; The same distribution of each coupling then this multiplicity adds one, and then zero clearing does not match;
To the Gaussian distribution weights of each point and descending ordering of ratio of variance, according to coupling distribute corresponding weights and before weights with whether whether mate background greater than this point of threshold value decision, not matching then is the foreground point;
Connected domain scanning is carried out in confirmed foreground point in the entire image, filter, it is labeled as background parts much smaller than the foreground point of target object size;
Foreground point and background dot to identifying scan, and whether the multiplicity that detects each point surpasses threshold value, and surpass threshold value and then carry out the parameter reduction, and the multiplicity zero clearing;
Gauss model upgrade to finish, and returns above-mentioned 2) step finishes until video.
2.
Figure 682034DEST_PATH_IMAGE001
3. the method for cutting apart based on the static object of Gaussian Background model according to claim 2; It is characterized in that said 1) in the step, for preventing the possibility of the static existence of target object in first frame; When being written into background image in advance, with this image setting for repeating Th in advance Pre_numInferior, Th Pre_numValue is greater than the half value of learning rate win_size.
4.
Figure 2011103145761100001DEST_PATH_IMAGE002
5.
Figure 536857DEST_PATH_IMAGE003
Figure 2011103145761100001DEST_PATH_IMAGE004
; If this coupling Gaussian distribution of this pixel is consistent with last time; Then multiplicity adds 1, otherwise zero clearing.
6.
Figure 2011103145761100001DEST_PATH_IMAGE006
; If this coupling Gaussian distribution of this pixel is consistent with last time; Then multiplicity adds 1, otherwise zero clearing.
7.
Figure 836437DEST_PATH_IMAGE007
8. the method for cutting apart based on the static object of Gaussian Background model according to claim 7; It is characterized in that; Said 5) in the step, picture element scan is pursued in the foreground point that collects, if its corresponding multiplicity surpasses setting threshold counter_threshold; Then with the multiplicity zero clearing, and carry out the parameter reduction according to the following equation;
Other distributed areas are belonged to Gaussian distribution:
Figure 650810DEST_PATH_IMAGE008
CN2011103145761A 2011-10-17 2011-10-17 Static target segmentation method based on Gauss background model Pending CN102509073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103145761A CN102509073A (en) 2011-10-17 2011-10-17 Static target segmentation method based on Gauss background model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103145761A CN102509073A (en) 2011-10-17 2011-10-17 Static target segmentation method based on Gauss background model

Publications (1)

Publication Number Publication Date
CN102509073A true CN102509073A (en) 2012-06-20

Family

ID=46221154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103145761A Pending CN102509073A (en) 2011-10-17 2011-10-17 Static target segmentation method based on Gauss background model

Country Status (1)

Country Link
CN (1) CN102509073A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102927652A (en) * 2012-10-09 2013-02-13 清华大学 Intelligent air conditioner control method based on positions of indoor persons and objects
CN103175287A (en) * 2013-04-22 2013-06-26 清华大学 Energy-saving control method and device for detecting character movement for air conditioner based on background modeling
CN103236051A (en) * 2012-08-03 2013-08-07 南京理工大学 Infrared search-track system background updating method
CN103632361A (en) * 2012-08-20 2014-03-12 阿里巴巴集团控股有限公司 An image segmentation method and a system
CN103700114A (en) * 2012-09-27 2014-04-02 中国航天科工集团第二研究院二O七所 Complex background modeling method based on variable Gaussian mixture number
WO2014063278A1 (en) * 2012-10-22 2014-05-01 Nokia Corporation Classifying image samples
CN104317397A (en) * 2014-10-14 2015-01-28 奇瑞汽车股份有限公司 Vehicle-mounted man-machine interactive method
CN105631800A (en) * 2016-02-05 2016-06-01 上海厚安信息技术有限公司 Adaptive real-time image background removing method and system
CN106971567A (en) * 2017-05-18 2017-07-21 上海博历机械科技有限公司 A kind of the intensive traffic section vehicle queue video detection system
CN107153772A (en) * 2017-05-18 2017-09-12 上海耐相智能科技有限公司 A kind of tele-medicine assistance platform
CN107968917A (en) * 2017-12-05 2018-04-27 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium
CN108062761A (en) * 2017-12-25 2018-05-22 北京奇虎科技有限公司 Image partition method, device and computing device based on adaptive tracing frame
CN109214293A (en) * 2018-08-07 2019-01-15 电子科技大学 A kind of oil field operation region personnel wearing behavioral value method and system
CN109325946A (en) * 2018-09-14 2019-02-12 北京石油化工学院 A kind of hazardous chemical stacking monitoring method and system
CN109325502A (en) * 2018-08-20 2019-02-12 杨学霖 Shared bicycle based on the progressive extracted region of video parks detection method and system
CN114503174A (en) * 2019-09-30 2022-05-13 松下知识产权经营株式会社 Object recognition device, object recognition system, and object recognition method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719217A (en) * 2009-12-15 2010-06-02 中国地质大学(武汉) Elastic relaxation algorithm-based vehicle type identification system and elastic relaxation algorithm-based vehicle type identification method
CN102103690A (en) * 2011-03-09 2011-06-22 南京邮电大学 Method for automatically portioning hair area

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719217A (en) * 2009-12-15 2010-06-02 中国地质大学(武汉) Elastic relaxation algorithm-based vehicle type identification system and elastic relaxation algorithm-based vehicle type identification method
CN102103690A (en) * 2011-03-09 2011-06-22 南京邮电大学 Method for automatically portioning hair area

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
P.KAEWTRAKULPONG ET AL.: "an improved adaptive background mixture model for real-time tracking with shadow detection", 《PROCEEDINGS OF THE 2ND EUROPEAN WORKING SHOP ON ADVANCED VIDEO-BASED SURVEILLANCE SYSTEMS,AVBS01》, 30 September 2001 (2001-09-30) *
PENG LI ET AL.: "Adaptive Background Model for Arbitrary-Long Stationary Target", 《IMAGE AND GRAPHICS(ICIG),2011 SIXTH INTERNATIONAL CONFERENCE ON》, 15 August 2011 (2011-08-15) *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236051A (en) * 2012-08-03 2013-08-07 南京理工大学 Infrared search-track system background updating method
CN103236051B (en) * 2012-08-03 2017-09-08 南京理工大学 Infrared search-track system background update method
CN103632361A (en) * 2012-08-20 2014-03-12 阿里巴巴集团控股有限公司 An image segmentation method and a system
CN103700114A (en) * 2012-09-27 2014-04-02 中国航天科工集团第二研究院二O七所 Complex background modeling method based on variable Gaussian mixture number
CN103700114B (en) * 2012-09-27 2017-07-18 中国航天科工集团第二研究院二O七所 A kind of complex background modeling method based on variable Gaussian mixture number
CN102927652B (en) * 2012-10-09 2015-06-24 清华大学 Intelligent air conditioner control method based on positions of indoor persons and objects
CN102927652A (en) * 2012-10-09 2013-02-13 清华大学 Intelligent air conditioner control method based on positions of indoor persons and objects
US10096127B2 (en) 2012-10-22 2018-10-09 Nokia Technologies Oy Classifying image samples
WO2014063278A1 (en) * 2012-10-22 2014-05-01 Nokia Corporation Classifying image samples
CN103175287A (en) * 2013-04-22 2013-06-26 清华大学 Energy-saving control method and device for detecting character movement for air conditioner based on background modeling
CN104317397A (en) * 2014-10-14 2015-01-28 奇瑞汽车股份有限公司 Vehicle-mounted man-machine interactive method
CN105631800A (en) * 2016-02-05 2016-06-01 上海厚安信息技术有限公司 Adaptive real-time image background removing method and system
CN106971567A (en) * 2017-05-18 2017-07-21 上海博历机械科技有限公司 A kind of the intensive traffic section vehicle queue video detection system
CN107153772A (en) * 2017-05-18 2017-09-12 上海耐相智能科技有限公司 A kind of tele-medicine assistance platform
CN107968917B (en) * 2017-12-05 2019-10-18 Oppo广东移动通信有限公司 Image processing method and device, computer equipment, computer readable storage medium
CN107968917A (en) * 2017-12-05 2018-04-27 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium
CN108062761A (en) * 2017-12-25 2018-05-22 北京奇虎科技有限公司 Image partition method, device and computing device based on adaptive tracing frame
CN109214293A (en) * 2018-08-07 2019-01-15 电子科技大学 A kind of oil field operation region personnel wearing behavioral value method and system
CN109325502A (en) * 2018-08-20 2019-02-12 杨学霖 Shared bicycle based on the progressive extracted region of video parks detection method and system
CN109325946A (en) * 2018-09-14 2019-02-12 北京石油化工学院 A kind of hazardous chemical stacking monitoring method and system
CN109325946B (en) * 2018-09-14 2021-08-24 北京石油化工学院 Dangerous chemical stacking monitoring method and system
CN114503174A (en) * 2019-09-30 2022-05-13 松下知识产权经营株式会社 Object recognition device, object recognition system, and object recognition method
CN114503174B (en) * 2019-09-30 2024-02-23 松下知识产权经营株式会社 Object recognition device, object recognition system, and object recognition method

Similar Documents

Publication Publication Date Title
CN102509073A (en) Static target segmentation method based on Gauss background model
US10037599B2 (en) Automatic gain control filter in a video analysis system
CN106204586B (en) A kind of moving target detecting method under complex scene based on tracking
CN101751677A (en) Target continuous tracking method based on multi-camera
CN101799968B (en) Detection method and device for oil well intrusion based on video image intelligent analysis
EP2867860A1 (en) Unsupervised learning of feature anomalies for a video surveillance system
WO2003036557A1 (en) Method and apparatus for background segmentation based on motion localization
CN102436662A (en) Human body target tracking method in nonoverlapping vision field multi-camera network
CN104252709B (en) Multiple-target foreground detection method for look-down group-housed pigs in look-down state under complicated background
CN105378752A (en) Online learning system for people detection and counting
CN105354791A (en) Improved adaptive Gaussian mixture foreground detection method
CN102332167A (en) Target detection method for vehicles and pedestrians in intelligent traffic monitoring
CN102542552A (en) Frontlighting and backlighting judgment of video images and detection method of shooting time
CN105513053A (en) Background modeling method for video analysis
CN101299274B (en) Detecting method and system for moving fixed target
Tao et al. Real-time detection and tracking of moving object
CN107729811B (en) Night flame detection method based on scene modeling
CN103400148A (en) Video analysis-based bank self-service area tailgating behavior detection method
CN103425958A (en) Method for detecting non-movable objects in video
CN102592125A (en) Moving object detection method based on standard deviation characteristic
CN102244770B (en) Object monitoring system and method
Colombari et al. Background initialization in cluttered sequences
CN107564029B (en) Moving target detection method based on Gaussian extreme value filtering and group sparse RPCA
Bevilacqua et al. An efficient change detection algorithm based on a statistical nonparametric camera noise model
Landge Object Detection and Object Tracking Using Background Subtraction for Surveillance Application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120620