摘要 |
A differential/absolute value image (D(i, j)) is derived by calculating an absolute value of each pixel in an image produced by subtracting a background image (B(i, j)) from an input image (I(i, j)). A mean value (mean) and a variance (var) of a pixel (D(i+ib, j+jb) in the differential/absolute value image are calculated from the levels of pixels included in a small region on the differential/absolute value image which has the pixel located at the center thereof. The calculated mean value and variance of the pixel are used to distinguish whether the pixel is a pixel included in a moving object existing region, a background region, or an input image sudden change region. A method of updating the background image is changed in accordance with whether the pixel is a pixel included in the moving object existing region, the background region, or the input image sudden change region. |