Moving object detection method based on multi-threshold self-optimization background modeling
A moving target and background modeling technology, which is applied in the field of moving target detection based on multi-threshold self-optimized background modeling, can solve the problems of reduced detection accuracy, easy generation of noise, and difficult elimination of artifacts, etc., to improve model reserves, Avoid repeated selection and better adapt to complex environments
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2019-08-09
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of image processing, and relates to a moving target detection method, in particular to a moving target detection method based on multi-threshold self-optimizing background modeling. Background technique
[0002] Moving object detection technology is a key technology in the field of computer vision. Its main purpose is to separate the moving objects in the video information from the background, so as to extract clear and complete moving objects. Currently common moving target detection methods include frame difference method, background difference method, mixed Gaussian modeling method, codebook method and visual background extraction method, etc. Among them, the visual background extraction algorithm is a moving object detection algorithm based on random background pixel modeling proposed by Barnich et al. in 2009. It occupies less memory and runs fast, and is suitable for video monitoring and automatic processing fi...
Examples
Embodiment Construction
[0059] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0060] Step 1, build a background model. In order to improve the model quality and avoid repeated selection of pixels, the present invention adopts the modeling of 20 neighborhood pixels of the previous f frame images, and the specific implementation method is as follows:
[0061] Step 101: convert the input image from the RGB space into a grayscale image, the conversion formula is as follows:
[0062] v(x)=0.2989*R+0.5870*G+0.1140*B (1)
[0063] Where v(x) represents the grayscale pixel value converted from the original RGB color space at position x.
[0064] Step 102: Initialize the background model by using the first f frames converted into a grayscale image. It is more appropriate to select 5 for f after many experiments. The expression of the background model M(x) is as follows:
[0065] M(x)={v 1 ,v 2 ,...,v N} (2...