摘要 |
The present invention discloses a method and an apparatus for implementing motion detection. The method includes: obtaining a pixel value of an image to be detected in a video image sequence, a pixel average value of same positions in a preset number of frame images before the image to be detected, and scene luminance values of the preset number of frame images before the image to be detected; obtaining a pixel scene luminance value and an average scene luminance value by calculation according to the pixel value and the scene luminance values; obtaining P1 according to the pixel value and the pixel average value, and obtaining P2 according to the pixel scene luminance value and the average scene luminance value; and obtaining P3 by integrating the P1 and P2, and detecting, according to the P3, whether the image to be detected includes a motion image region. |