1. A method for foreground analysis in real-time video, comprising the steps of: determining mixtures of Gaussians for different aspects of an image; detecting a static foreground region by using the mixtures of Gaussians to identify whether a pixel belongs to the static region or a background region; and processing the image in accordance with two or more of: detecting a static region to determine objects in a scene using the mixtures of Gaussians of the background region; integrating texture information of the background image to a foreground mask to remove false positive foreground areas resulting from lighting changes; and integrating pixel intensity information by determining a cross-correlation of intensities between a current frame and the background image for each pixel in a foreground mask to remove image shadows.