Unlock instant, AI-driven research and patent intelligence for your innovation.

Background image updating method and device thereof

A background image and foreground image technology, applied in the field of image processing, can solve the problems of poor performance, unable to meet the needs of practical applications, large foreground interference, etc., and achieve the effect of high-quality update

Inactive Publication Date: 2011-02-16
TSINGHUA UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the gray-scale mean method is simple, it requires a large number of image sequences when generating background images, and is greatly disturbed by the foreground, and its performance is poor when the scene is complex
The image sequence subtraction method needs to select an appropriate threshold when it is applied, so it cannot meet the needs of practical applications when the scene changes drastically.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Background image updating method and device thereof
  • Background image updating method and device thereof
  • Background image updating method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] The embodiment of the present invention provides a method for updating the background image, such as figure 1 As shown, it includes: selecting at least one pixel in the current frame image, using each pixel in the at least one pixel as the current pixel respectively, and performing the following processing:

[0029] 110: Subtract the first pixel value of the current pixel from the second pixel value of the corresponding pixel of the current background image to obtain a first difference;

[0030] 120: Determine whether the absolute value of the first difference is smaller than the outer boundary of the background threshold of the current pixel;

[0031] 130: If the absolute value of the first difference is smaller than the outer boundary of the above-mentioned background threshold, perform weighted average calculation on the first pixel value and the second pixel value to obtain the first candidate pixel value, and compare the first pixel value and the second pixel value...

Embodiment 2

[0039] This embodiment further illustrates the method for updating the background image of the present invention on the basis of the first embodiment. see image 3 , the method of the embodiment of the present invention includes:

[0040] 301: Set any frame image before the current frame image as the initial background image, set the foreground image and the absorption image as empty, and initialize the background threshold and the foreground threshold.

[0041]The embodiments of the present invention can be applied to video sequences with multiple frames of images. Before the video sequence updates the background image for the first time, any frame image before the last frame image of the video sequence is set as the initial background image, the foreground image and the absorption image are set to null and the background threshold and the foreground threshold are initialized. Then, each frame of image following the initial background image is used as the current frame imag...

Embodiment 3

[0077] An embodiment of the present invention provides a device for updating a background image, such as Figure 4 shown, including:

[0078] The initialization module 401 is used to set the current frame image or any frame image before the current frame image as the initial background image before selecting at least one pixel in the current frame image, set the foreground image and the absorption image to be empty and initialize the background Threshold and Foreground Threshold.

[0079]The embodiments of the present invention can be applied to video sequences with multiple frames of images. Before the video sequence updates the background image for the first time, any frame image before the last frame image of the video sequence is set as the initial background image, the foreground image and the absorption image are set to null and the background threshold and the foreground threshold are initialized. Then, each frame of image following the initial background image is use...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a background image updating method and a device thereof, belonging to the field of image processing. The method comprises: selecting at least one pixel from the current fram and taking each pixel thereof as the current pixel to calculate the first difference value and judge whether the absolute value thereof is smaller than the outer margin of the background threshold value or not; if yes, calculating the first candidate pixel value and adding 1 to the number of times COUNT_A, and if not, subtracting the third pixel value from the first pixel value to obtain the seconddifference value; judging whether the absolute value of the second difference value is smaller than the outer margin of the foreground threshold value or not; if yes, calculating the second candidatepixel value and adding 1 to the number of times COUNT_B;if not, calculating the third candidate pixel value and adding 1 to the number of times COUNT_C; comparing COUNT_A, COUNT_B and COUNT_C and using the candidate pixel value corresponding to the maximum number of times as the updating pixel value of the corresponding pixel of the background. The device comprises: a first difference value module, a judging module, a first weighted average module, a second difference value module and an updating modle. The invention can fast update the background image with high quality.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and device for updating background images. Background technique [0002] With the rapid development of computer technology and semiconductor technology, video capture and processing technologies such as cameras are gradually being widely used in various fields to provide convenience for people's work and life. [0003] In these application fields, background subtraction is generally used to process video to extract the target we are interested in. The principle of this method is: first generate a background image, and then subtract the image in the video from the background image to obtain the foreground target in the image, thereby realizing the function we need. In practical applications, the background changes with changes in the external environment, so the background image needs to be dynamically updated over time, which involves the generation and update methods of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T5/50
Inventor 姚丹亚丁芒张煦苏岳龙
Owner TSINGHUA UNIV