Image processing apparatus and method
First Claim
1. An image processing apparatus comprising:
- a background image holding unit configured to hold a background image;
a threshold table holding unit configured to hold a threshold;
a previous frame image holding unit configured to hold a previous frame image which is a frame image temporally prior to the latest image; and
an object extraction unit configured to perform a background subtraction process of calculating difference values between the background image and latest image and detecting a pixel whose calculated difference value is equal to or larger than the threshold as an extracted object and a process of judging the magnitude of difference between the background image and latest image, whereinthe object extraction unit is configured towhen determining that the magnitude of difference between the background image and latest image is less than a predetermined value, update the background image by adding the latest image to the background image in a predetermined ratio,when determining that the magnitude of difference between the background and latest image is not less than the predetermined value, update the threshold by calculating a difference average which is the average of the difference values between the previous frame image and the latest image and adding the absolute value of the calculated difference average to the threshold,update the background image by replacing the pixels of the latest image which are not recognized as the extracted object as the result of execution of the background subtraction process using the updated threshold, for the corresponding pixels of the background image as pixels of a new background image and replacing pixels of the background image corresponding to the pixels which are recognized as the extracted object with the pixels obtained by adding the difference average to the background image as pixels of the new background image,the background image holding unit holds the background image updated by the object extraction unit instead of the background image that the background image holding unit has held until that time, andthe threshold table holding unit holds the threshold updated by the object extraction unit instead of the threshold that the threshold table holding unit has held until that time.
1 Assignment
0 Petitions
Accused Products
Abstract
A background image holding unit is configured to hold a background image. A threshold table holding unit is configured to hold a threshold. A previous frame image holding unit is configured to hold a previous frame image. An object extraction unit is configured to perform a background subtraction process of calculating difference values between the background image and a latest image and detecting a pixel whose calculated difference value is equal to or larger than the threshold as an extracted object, and configured to perform a process of judging the magnitude of difference between the background image and latest image. The object extraction unit is configured to update the background image and threshold in accordance with the magnitude of difference between the background image and latest image.
-
Citations
4 Claims
-
1. An image processing apparatus comprising:
-
a background image holding unit configured to hold a background image; a threshold table holding unit configured to hold a threshold; a previous frame image holding unit configured to hold a previous frame image which is a frame image temporally prior to the latest image; and an object extraction unit configured to perform a background subtraction process of calculating difference values between the background image and latest image and detecting a pixel whose calculated difference value is equal to or larger than the threshold as an extracted object and a process of judging the magnitude of difference between the background image and latest image, wherein the object extraction unit is configured to when determining that the magnitude of difference between the background image and latest image is less than a predetermined value, update the background image by adding the latest image to the background image in a predetermined ratio, when determining that the magnitude of difference between the background and latest image is not less than the predetermined value, update the threshold by calculating a difference average which is the average of the difference values between the previous frame image and the latest image and adding the absolute value of the calculated difference average to the threshold, update the background image by replacing the pixels of the latest image which are not recognized as the extracted object as the result of execution of the background subtraction process using the updated threshold, for the corresponding pixels of the background image as pixels of a new background image and replacing pixels of the background image corresponding to the pixels which are recognized as the extracted object with the pixels obtained by adding the difference average to the background image as pixels of the new background image, the background image holding unit holds the background image updated by the object extraction unit instead of the background image that the background image holding unit has held until that time, and the threshold table holding unit holds the threshold updated by the object extraction unit instead of the threshold that the threshold table holding unit has held until that time. - View Dependent Claims (2, 3)
-
-
4. An image processing method, comprising:
-
calculating difference values between a background image and a latest image; detecting a pixel whose calculated difference value is not less than a predetermined threshold as an extracted object; judging the magnitude of difference between the background image and the latest image based on the difference values; when determining that the magnitude of difference between the background image and the latest image is less than a predetermined value, updating the background image by adding the background image to the latest image in a predetermined ratio; when determining that the magnitude of difference between the background and the latest image is not less than the predetermined value, updating the threshold by calculating a difference average which is the average of the difference value of each pixel between the previous frame image and the latest image and adding the absolute value of the calculated difference average to the threshold; and updating the background image by replacing the pixels of the latest image which are not recognized as the extracted object as the result of execution of the background subtraction process using the updated threshold, for the corresponding pixels of the background image as pixels of a new background image and replacing the pixels of the background image corresponding to the pixels which are recognized as the extracted object in the latest image, with pixels obtained by adding the difference average to the background image as pixels of the new background image.
-
Specification